# Amazon S3 action - Download file
This action downloads contents of a file in Amazon S3. File contents can be used in subsequent steps of the recipe to upload the file into other applications.
This action uses streaming mechanism and can support large file. However, the maximum file size you can download depends on how long the download takes. It is limit to Workato's job runtime limit (5400 seconds). Consider enabling Amazon S3 transfer acceleration to speed up the download.
# Input fields
|Bucket region||The region of the bucket that the file resides, e.g. us-west-2. In Amazon S3, go to Bucket > Properties > Static website hosting to find your region in the Endpoint URL.|
|Bucket||The bucket that the file resides. Select a bucket from the picklist or enter the bucket name directly.|
|File||The file to download. Select a file from the picklist or enter file path directly.|
|Use transfer acceleration||Select Yes to accelerate data transfer. Go to Bucket > Properties > Transfer acceleration to enable transfer acceleration before using this setting.|
|Chunk size |
|File contents will be streamed in chunks of this size. Default is 1024 KB, minimum is 32 KB. Workato manages the chunk size automatically by default. Configure this when you want to optimize the data throughput yourself. Larger chunk size will increase throughput, but may exceed API limit.|
# Output fields
|File contents||The contents of the file. This is a streaming object.|
|Size||The size of the file in bytes.|