- Visão geral
- Introdução
- Conceitos
- Usando o UiPath CLI
- Guias de instruções
- Receitas de CI/CD
- Referência de comando
- Visão geral
- Códigos de saída
- Opções globais
- Agente de código uip
- Documento da UIP
- Ativos
- Buckets
- arquivos do bucket
- Bibliotecas
- Filas
- Itens da Fila
- Gatilhos
- Webhooks
- adicionar-tipo-dados-de-teste
- adicionar-dados-de-teste-fila
- adicionar-teste-variação de dados
- Analisar
- Criar
- criar projeto
- Comparação
- encontrar atividades
- obter-analisador-regras
- obter-padrão-atividade-xaml
- obter-erros
- obter-casos-de-teste-manuais
- obter-etapas-de-teste-manual
- Obter versões
- obter-fluxo-de-trabalho-exemplo
- indicar aplicativo
- indicar elemento
- inspecionar pacote
- instalar-data-fabric-entities
- instalar-ou-atualizar pacotes
- listar-data-fabric-entities
- listar-exemplos-de-fluxo-de-trabalho
- Empacotar
- restore
- arquivo de execução
- modelos-pesquisar
- Iniciar Studio
- interromper a execução
- UIA
- Traces da UIP
- Migração
- Referência e suporte
Guia do usuário da UiPath CLI
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>]
List
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.
get
Obtenha metadados do arquivo em <path>.
Excluir
Excluir arquivo em <path>.
Ler
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
uip resource buckets— CRUD no nível do bucket.- Visão geral
uip resource— convenções compartilhadas para cada verbouip resource. - Como fazer: gerenciar ativos e filas do Orchestrator — padrões de upload/download de arquivos do bucket.