I upload files to an S3 bucket using Javascript and want to verify, after the upload , that the file is where it should be.
Assuming I know the exact URL of the file (for example: https://mybucket.s3.amazon.com/myfile.png) is there a way for me to "ping" the file, just to make sure it is there?
Take into account this is cross domain as the JS may be running anywhere on the web, not just on my website.
Important notes:
- I can't simply load the image (if it is an image), because that will force the browser to download the whole file - I only want to "ping" it, to make sure it is there... not download a 5MB file, if you catch my drift.
- It isn't necessarily an image.
Thanks