UiPath Documentation
uipath-cli
latest
false
重要 :
このコンテンツは機械翻訳によって処理されています。 新しいコンテンツの翻訳は、およそ 1 ~ 2 週間で公開されます。

UiPath CLI ユーザー ガイド

uip resource bucket-files

バケット内のファイルの管理: 署名済み URL の一覧表示、検査、アップロード、ダウンロード、削除、取得を行います。すべてのサブコマンドは、最初の引数として <bucket-key> を取ります。バケット自体 (フォルダー間で作成/共有/リストを取得) については、「 uip resource buckets」をご覧ください。

リソース間の規則 (認証、フォルダー スコープ、キーの種類、出力エンベロープ) については、「 uip resource の概要」をご覧ください。

概要

uip resource bucket-files list              <bucket-key> --folder-path <path> | --folder-key <key> [--prefix <path>] [--take-hint <n>] [--continuation-token <token>] [--expiry-in-minutes <n>]
uip resource bucket-files list-dirs         <bucket-key> --folder-path <path> | --folder-key <key> [-d <directory>] [--file-name-glob <pattern>] [-l <n>] [--offset <n>]
uip resource bucket-files get               <bucket-key> <path> --folder-path <path> | --folder-key <key>
uip resource bucket-files delete            <bucket-key> <path> --folder-path <path> | --folder-key <key>
uip resource bucket-files read              <bucket-key> <path> --folder-path <path> | --folder-key <key> [-d <local-file>]
uip resource bucket-files write             <bucket-key> <path> --folder-path <path> | --folder-key <key> --file <local-file> [--content-type <mime>]
uip resource bucket-files get-download-url  <bucket-key> <path> --folder-path <path> | --folder-key <key> [--expiry-in-minutes <n>]
uip resource bucket-files get-upload-url    <bucket-key> <path> --folder-path <path> | --folder-key <key> [--expiry-in-minutes <n>] [--content-type <mime>]
uip resource bucket-files list              <bucket-key> --folder-path <path> | --folder-key <key> [--prefix <path>] [--take-hint <n>] [--continuation-token <token>] [--expiry-in-minutes <n>]
uip resource bucket-files list-dirs         <bucket-key> --folder-path <path> | --folder-key <key> [-d <directory>] [--file-name-glob <pattern>] [-l <n>] [--offset <n>]
uip resource bucket-files get               <bucket-key> <path> --folder-path <path> | --folder-key <key>
uip resource bucket-files delete            <bucket-key> <path> --folder-path <path> | --folder-key <key>
uip resource bucket-files read              <bucket-key> <path> --folder-path <path> | --folder-key <key> [-d <local-file>]
uip resource bucket-files write             <bucket-key> <path> --folder-path <path> | --folder-key <key> --file <local-file> [--content-type <mime>]
uip resource bucket-files get-download-url  <bucket-key> <path> --folder-path <path> | --folder-key <key> [--expiry-in-minutes <n>]
uip resource bucket-files get-upload-url    <bucket-key> <path> --folder-path <path> | --folder-key <key> [--expiry-in-minutes <n>] [--content-type <mime>]

リスト (List)

バケット内のファイルを一覧表示します。--take-hint--continuation-tokenでページ分割任意の --prefix <path>--expiry-in-minutes <n> (応答に含まれる署名済みダウンロード URL が対象)。

uip resource bucket-files list a1b2c3d4-0000-0000-0000-000000000001 \
  --folder-path Shared
uip resource bucket-files list a1b2c3d4-0000-0000-0000-000000000001 \
  --folder-path Shared

list-dirs

仮想ディレクトリを一覧表示します。任意 -d, --directory <path>--file-name-glob <pattern>-l, --limit--offsetです。

<path>でファイル メタデータを取得します。

削除

<path>でファイルを削除します。

読み取り

ファイルをダウンロードします。-d, --destination <file>では、ディスクに書き込みます(BucketFileReadエンベロープを発行します)。含まず、コンテンツを stdout にストリーミングします。

uip resource bucket-files read a1b2c3d4-0000-0000-0000-000000000001 \
  "reports/summary.csv" --folder-path Shared --destination ./summary.csv
uip resource bucket-files read a1b2c3d4-0000-0000-0000-000000000001 \
  "reports/summary.csv" --folder-path Shared --destination ./summary.csv

書き込み

ローカル ファイルをアップロードします。--file <local-file>が必要です。任意 --content-type <mime> (省略した場合は自動検出)。

uip resource bucket-files write a1b2c3d4-0000-0000-0000-000000000001 \
  "reports/summary.csv" --folder-path Shared --file ./summary.csv
uip resource bucket-files write a1b2c3d4-0000-0000-0000-000000000001 \
  "reports/summary.csv" --folder-path Shared --file ./summary.csv

ダウンロード URL を取得 / アップロード URL を取得

署名済み URL をファイルの場所へ返します。任意の --expiry-in-minutes <n>Upload バリアントは --content-typeも受け入れます。

参照

このページは役に立ちましたか?

接続

ヘルプ リソース サポート

学習する UiPath アカデミー

質問する UiPath フォーラム

最新情報を取得