amazon-s3-php-class
amazon-s3-php-class copied to clipboard
Improve getAuthenticatedURL function with forced download option
By adding
response-content-disposition=attachment; filename=MY_FILE.JPG
response-content-type=application/octet-stream
as GET parameters to getAuthenticatedURL
and signing all it's possible to force the download of a file, instead of seeing in browser window (for supported files).
I suggest to add this feature to getAuthenticatedURL
method.