I did some testing it's possible to read and download a file from S3 if we use a file name when uploading.
For example, after running this upload with the name of 'export.csv':
The upload has both Etag
and Key
properties:
Although the response of the upload does not give us the Etag
, it does give us the fileName
:
We can use the fileName
as a value for "S3 file key" to read or download the file:
For the object URL, we can use this data to get it as well.
An Object URL in S3 has the following structure:
http://${bucket_name}.s3.amazonaws.com/${key}
Replace ${bucket_name}
with yours and ${key}
with the fileName
, that is the Object URL for that file. I just tested it on my end, I can go to that address and see the file on the browser.