Nov 4, 2001, 7:51 AM
Post #1 of 1
At my website http://www.cool-programming.f2s.com I'm using a CGI script that manages downloads. It monitors how many times the file is downloaded at a certain location.
Download manager CGI Script
What is the best way my CGI program tells the browser it should download a file at location X??
Currently at my website...
You can click on a 'download link', and then a popup appears.
In the popup there is a form (<FORM method="POST">) helping you to select a location, and you can click on the submit (download) button. The CGI script handling the submission redirects the browser to the download link, and a "Save As" window appears in Internet Explorer.
When the form is submitted via a POST request, the download starts. At my windows computer, I'm using GetRight to help the download process. GETRIGHT NEVER APPEARS HOWEVER!!!
What is a better solution to this download-manager problem??