amazon-s3-php-class icon indicating copy to clipboard operation
amazon-s3-php-class copied to clipboard

Improve getAuthenticatedURL function with forced download option

Open robertotremonti opened this issue 9 years ago • 0 comments

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.

robertotremonti avatar Jun 23 '15 12:06 robertotremonti