Amazon S3: Download File
Description
Amazon S3: Download File plugin step downloads a single file (object) from a bucket on Amazon S3.
Note:
Provide access (whitelist) to the following URL through your firewall and network: https://amazonaws.com/
Known issue
If the internet connection is disconnected in the middle of downloading a file, the contents will be partially downloaded to the point where the internet was disconnected.
Reference
Configurations
| Field Name | Description |
|---|---|
| Step Name | Specify a unique name for the step. |
| Connection tab: | For the Amazone S3 connection fields details, click Common Tab: Connection Fields |
| Input fields | |
| Bucket Name | Specify the name of the S3 bucket from where the object is to be downloaded. The data type is string. The field is mandatory. |
| Get | Click the button to populate the list of available Buckets. |
| Key Name | The object name that is to be downloaded. It downloads a single object(file). If the file resides in any folder, it should be given as “foldername/filename.extension”. The data type is string. The field is mandatory. Notes: - The Key Name field is the Object’s Key name. - If the file to be downloaded resides in any folder/subdirectory, the Key Name should be given as “foldername/filename.extension”. |
| Output Folder Path | Folder path to download a file at the given location. The data type is string. The field is mandatory. |
| Browse | To browse the folder path to download a file from Amazon S3. |
| Version ID | The specific version ID of the object to be downloaded. Bucket versioning should be enabled. The data type is String. Notes: - To download an object of a specific version, S3 bucket versioning should be enabled. - If the version ID is not given, the latest file (without the ‘L’ marker) is downloaded. |
| ADDITIONAL INPUT tab: | Additional Input fields |
| Delete Output Folder Contents Before Downloading | Specify Yes to delete output folder contents before downloading else specify No. Allowed values: Yes, No. Default value: No. The data type is String. |
| Add Date TimeStamp For Duplicate File | Specify Yes to add Date TimeStamp for duplicate files. Allowed values: Yes, No. Default value: No. The data type is String. |
| Add File To Result | Specify Yes to add the downloaded files to the result set and display the download link on AE otherwise else select No. Allowed values: Yes, No. Default value: No. The data type is String. |
| OUTPUT tab: | Output fields |
| File Overwritten | Specify the output variable name in the field. The default output variable name is FileOverwritten. If the downloaded file already exists in the given location, the output response is Yes, else the response is No. |