Skip to content
Advertisement

Tag: amazon-s3

S3 appending random string in file name

I have a s3 folder with a csv file stored on it. I’m trying to download the last modified file. I’m using this script to get the last modified file: This code lists my last modified object, the file name is part-00000-40f267f2-38dc-4bab-811c-4c3052fdb1ba-c000.csv and is inside the file_r folder. Although, when I use s3_client.download_file i get the following error: When i

Indicate a directory on Amazon’s S3

I’m new to AWS services. I’ve always used the code below to calculate NDVI for images that were located in a directory. Now all the necessary images are in an amazon S3 folder. How do I replace the lines below? Answer Amazon S3 is not a filesystem. You will need to use different commands to: List the contents of a

Advertisement