UiPath Documentation
uipath-cli
latest
false

UiPath CLI user guide

Última atualização 7 de mai de 2026

uip df files

uip df files manages blob attachments stored on a record's file field. All three verbs take the same three positional arguments — entity ID, record ID, and field name (case-sensitive). Field names are discoverable through uip df entities get.

Synopsis

uip df files <verb> [options]
uip df files <verb> [options]

Verbs

VerbFinalidade
uploadUpload a file to a record field.
downloadDownload the file attached to a record field.
deleteDelete the file attached to a record field.

uip df files upload

Upload a file to a record field.

Argumentos

NameRequiredFinalidade
<entity-id>simEntity ID (UUID).
<record-id>simRecord ID (UUID).
<field-name>simName of the file field (case-sensitive).

Opções

ShortLongValorPadrãoDescription
-t--tenantnamesession defaultOverride the tenant.
-f--filePathnecessárioPath to the file to upload.

Exemplos

uip df files upload a1b2c3d4-0000-0000-0000-000000000001 \
    b2c3d4e5-0000-0000-0000-000000000001 invoice \
    --file ./invoice.pdf
uip df files upload a1b2c3d4-0000-0000-0000-000000000001 \
    b2c3d4e5-0000-0000-0000-000000000001 invoice \
    --file ./invoice.pdf

Data shape (--output json)

{
  "Code": "FileUploaded",
  "Data": {
    "EntityId": "a1b2c3d4-0000-0000-0000-000000000001",
    "RecordId": "b2c3d4e5-0000-0000-0000-000000000001",
    "FieldName": "invoice",
    "FileName": "invoice.pdf"
  }
}
{
  "Code": "FileUploaded",
  "Data": {
    "EntityId": "a1b2c3d4-0000-0000-0000-000000000001",
    "RecordId": "b2c3d4e5-0000-0000-0000-000000000001",
    "FieldName": "invoice",
    "FileName": "invoice.pdf"
  }
}

uip df files download

Download the file attached to a record field.

Argumentos

NameRequiredFinalidade
<entity-id>simEntity ID (UUID).
<record-id>simRecord ID (UUID).
<field-name>simName of the file field (case-sensitive).

Opções

ShortLongValorPadrãoDescription
-t--tenantnamesession defaultOverride the tenant.
--destinationPath<record-id>_<field-name>.binOutput file path.

Exemplos

uip df files download a1b2c3d4-0000-0000-0000-000000000001 \
    b2c3d4e5-0000-0000-0000-000000000001 invoice \
    --destination ./invoice.pdf

# Default destination
uip df files download a1b2c3d4-0000-0000-0000-000000000001 \
    b2c3d4e5-0000-0000-0000-000000000001 invoice
uip df files download a1b2c3d4-0000-0000-0000-000000000001 \
    b2c3d4e5-0000-0000-0000-000000000001 invoice \
    --destination ./invoice.pdf

# Default destination
uip df files download a1b2c3d4-0000-0000-0000-000000000001 \
    b2c3d4e5-0000-0000-0000-000000000001 invoice

Data shape (--output json)

{
  "Code": "FileDownloaded",
  "Data": {
    "EntityId": "a1b2c3d4-0000-0000-0000-000000000001",
    "RecordId": "b2c3d4e5-0000-0000-0000-000000000001",
    "FieldName": "invoice",
    "OutputPath": "./invoice.pdf"
  }
}
{
  "Code": "FileDownloaded",
  "Data": {
    "EntityId": "a1b2c3d4-0000-0000-0000-000000000001",
    "RecordId": "b2c3d4e5-0000-0000-0000-000000000001",
    "FieldName": "invoice",
    "OutputPath": "./invoice.pdf"
  }
}

uip df files delete

Delete the file attached to a record field. The record itself is unaffected — only the blob on the named field is removed.

Argumentos

NameRequiredFinalidade
<entity-id>simEntity ID (UUID).
<record-id>simRecord ID (UUID).
<field-name>simName of the file field (case-sensitive).

Opções

ShortLongValorPadrãoDescription
-t--tenantnamesession defaultOverride the tenant.

Exemplos

uip df files delete a1b2c3d4-0000-0000-0000-000000000001 \
    b2c3d4e5-0000-0000-0000-000000000001 invoice
uip df files delete a1b2c3d4-0000-0000-0000-000000000001 \
    b2c3d4e5-0000-0000-0000-000000000001 invoice

Data shape (--output json)

{
  "Code": "FileDeleted",
  "Data": {
    "EntityId": "a1b2c3d4-0000-0000-0000-000000000001",
    "RecordId": "b2c3d4e5-0000-0000-0000-000000000001",
    "FieldName": "invoice"
  }
}
{
  "Code": "FileDeleted",
  "Data": {
    "EntityId": "a1b2c3d4-0000-0000-0000-000000000001",
    "RecordId": "b2c3d4e5-0000-0000-0000-000000000001",
    "FieldName": "invoice"
  }
}

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