View Full Version : Download image from URL
11-01-2007, 10:30 PM
11-01-2007, 10:38 PM
Use .htaccess in the folder you want to force download of files.
Header set Content-Disposition attachment
11-01-2007, 10:47 PM
I'm sorry I should have specified...The files are stored on an amazon S3 server So we do not have the ability to edit .htaccess
11-02-2007, 03:32 PM
I'm not familiar with Amazon hosting services. Sorry.
You could write a server side script that would force download of files based on the information given to the script.
Example would be http://yourhost/dir/download?f46se5uceZ6nunu6eKerEtra7uw28dRe WHERE "f46se5uceZ6nunu6eKerEtra7uw28dRe" points to a reference to the path of the file in a database. Be cautious using this method.
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.