How to download simple storage service(s3) bucket files directly on user's local machine?
you can check the aws s3 cli so to copy a file from s3.
The following cp command copies a single object to a specified file locally:
aws s3 cp s3://mybucket/test.txt test2.txt
Make sure to use quotes "
in case you have spaces in your key
aws s3 cp "s3://mybucket/test with space.txt" "./test with space.txt"