UiPath Documentation
uipath-cli
latest
false
Importante :
Este conteúdo foi traduzido com auxílio de tradução automática. A localização de um conteúdo recém-publicado pode levar de 1 a 2 semanas para ficar disponível.

Guia do usuário da UiPath CLI

Última atualização 7 de mai de 2026

arquivos-bucket de recurso uip

Gerencie arquivos dentro de buckets: listar, inspecionar, carregar, baixar, excluir e buscar URLs pré-assinadas. Cada subcomando recebe <bucket-key> como seu primeiro argumento. Para o próprio bucket (criar / compartilhar / listar em pastas), consulte uip resource buckets.

Para as convenções entre recursos (autenticação, escopo de pasta, tipos de chave, envelope de saída), consulte a visão geraluip resource .

Resumo

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>]

Listar arquivos em um bucket. Paginado por meio de --take-hint, --continuation-token. --prefix <path> e --expiry-in-minutes <n> opcionais (para as URLs de download pré-assinadas incluídas na resposta).

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

diretórios da lista

Listar diretórios virtuais. Opcional -d, --directory <path>, --file-name-glob <pattern>, -l, --limit, --offset.

Obtenha metadados do arquivo em <path>.

Excluir

Excluir arquivo em <path>.

Baixe um arquivo. Com -d, --destination <file>, grava no disco (emite um envelope BucketFileRead ); sem, transmite conteúdo para 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

Gravar

Carregue um arquivo local. Requer --file <local-file>. Opcional --content-type <mime> (detectado automaticamente se omitido).

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

get-download-url / get-upload-url

Retorne um URL pré-assinado ao local do arquivo. Opcional --expiry-in-minutes <n>; a variante de upload também aceita --content-type.

Veja também

Esta página foi útil?

Conectar

Precisa de ajuda? Suporte

Quer aprender? Academia UiPath

Tem perguntas? Fórum do UiPath

Fique por dentro das novidades