Skip to main content

Manage files in tenant object store

You can use the SDK's FileClient to manage your files within Atlan's tenant object store by leveraging presigned URLs.

Upload file to object store

To upload a file to the tenant object store:

Upload a file to the tenant object store

atlan upload -f user/some-folder/my-file.txt -r atlan/object/store/file.txt # (1)
  1. To upload the file to the object store, you must specify the following flags:

    • -f or --file: path to the file to be uploaded to the object store.
    • --r or --remote: actual object name where you want to upload the file (e.g: prefix/object_name).
CLI must be configured

Make sure you have the CLI configured before running the above command.

Download file from object store

To download a file from the tenant object store:

Download a file to the tenant object store

atlan download -r atlan/object/store/file.txt -o user/some-folder/my_file.txt # (1)
  1. To download the file from the object store, you must specify the following flags:

    • -r or --remote: actual object name you want to download (e.g: prefix/object_name).
    • --o or --output: path to the location where you want to save the downloaded file.
CLI must be configured

Make sure you have the CLI configured before running the above command.

Was this page helpful?