Manage files with the AWS Command Line Interface
This article describes how to use the AWS Command Line Interface to upload and manage files.
To install the AWS Command Line Interface (CLI), see Installing, updating, and uninstalling the AWS CLI in the Amazon documentation. For information on configuring AWS CLI, see Configuration Basics.
When you call aws configure
, you are prompted for your Access Key and Access Key ID (you can leave Region Name and Output Format blank).
After you configure the CLI, you can make queries using thes3api
method, as shown in the following CLI examples:
List all objects in the root folder
aws s3 ls s3://collect-REGION.tealium.com/bulk-downloader/ACCOUNT-PROFILE/
Copy a file into a folder
aws s3 cp local_file.csv s3://collect-REGION.tealium.com/bulk-downloader/ACCOUNT-PROFILE/
Remove a file from a folder
aws s3 rm s3://collect-REGION.tealium.com/bulk-downloader/ACCOUNT-PROFILE/local_file.csv
File upload errors
When a file process failure occurs, the file is ignored. The system does not attempt to process the file again. The most common reasons for failure are:
- The CSV file is improperly formatted and is therefore not a valid CSV file
- The CSV file must be in UTF-8 format with no BOM encoding
- Column names used in the file definition do not exist in the file
- A column name is used more than once in the File Service configuration
This page was last updated: January 7, 2023