I re-uploaded the whole script and now I get a link to s3 (albeit in the wrong format as others have reported). However, the filenames are still altered – for example, myFile.jpg is uploaded as xxxxx-myFile.jpg. Is there a way of ensuring the filenames are preserved?
Having patched the endpoint to get the correct bucket url format, I now get the following error if I follow the generated link:
“The authorization mechanism you have provided is not supported. Please use AWS4-HMAC-SHA256.”
My bucket is in the EU-West-2 region.
I have tried going into the AWS console and making the uploaded file public to test the link URL. The URL is correct, as the file will download if I strip off the access credentials. But adding them back in causes the error above.