> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 全域儲存空間工具 (GlobalStorage.exe)

> 命令列 GlobalStorage.exe 工具，可管理 XBOX 測試沙箱中的遊戲全域儲存空間，用於存放名單、地圖、挑戰與美術資源等共用資料。

遊戲全域儲存空間用於存放所有人都可以讀取的資料，例如名單、地圖、挑戰或美術資源。

全域儲存空間工具用於管理測試沙箱中的遊戲全域儲存空間。
資料仍必須透過 Partner Center 發佈至 RETAIL。

此命令列工具是 GDK 與 `XboxLiveTools.zip` 的一部分；請參閱 [XBOX Live 的開發工具](/zh-TW/tools/tools-services/live-tools)。

GlobalStorage.exe 用於在發佈至 RETAIL 之前，管理測試沙箱中的遊戲全域儲存空間。
首次使用之前，必須至少呼叫一次 XblDevAccount.exe signin。

#### 使用方式：

***quota：*** 取得遊戲全域儲存空間配額資訊。

```
GlobalStorage.exe quota -scid xxx --sandbox xxx
```

成功輸出：

```
Your global storage quota: used bytes {usedBytes}, total bytes {totalBytes}
```

***list：*** 取得遊戲全域儲存空間中指定路徑下的 Blob 中繼資料清單。

```
GlobalStorage list --scid xxx --max-items 10 --path path --sandbox xxx
```

成功輸出：

```
Total 12 items found, Displaying item 0 to 12
        test.txt,       Config,         2
        ...
        tool.zip,       Binary,         1874772
```

***delete：*** 從遊戲儲存空間刪除 Blob。

```
GlobalStorage delete --scid xxx --blob-path foo\bar\blob.txt --sandbox xxx --type Json
```

***download：*** 從遊戲儲存空間下載 Blob 資料。

```
GlobalStorage download --scid xxx --output c:\test.txt --blob-path \text.txt --sandbox xxx --type Json
```

***upload：*** 將 Blob 資料上傳至遊戲儲存空間。

```
GlobalStorage upload --scid xxx --file c:\test.txt --blob-path \text.txt --sandbox xxx --type Json
```


## Related topics

- [XBOX 服務的開發工具](/zh-TW/tools/tools-services/live-tools.md)
- [XBOX 服務的工具](/zh-TW/tools/tools-services/live-tools-nav.md)
- [XBOX 與 PlayFab 的線上服務工具](/zh-TW/tools/tools-services/index.md)
- [XBOX 連線儲存空間工具 (XblConnectedStorage.exe)](/zh-TW/tools/tools-services/live-connected-storage-tool.md)
- [在 Partner Center 中設定遊戲儲存空間](/zh-TW/services/xbox-services/storage/title-storage/config/live-title-storage-portal-config.md)
