March 8th, 2013, 08:25 AM
Perl CGI to download files via web browser
Need some cgi-perl script which can download a file form server machine. EX: click on a download link and it will open a save as window and will allow me to same the file on my local machine.
i have created a web page using CGI , using this i will upload a file to server and will run a perl script to convert it to some other format ( till here i am done) Now i need get this file back ( download back ) the the system.
March 20th, 2013, 01:29 PM
Your CGI script will just need to use the 'application/octet-stream' headers - check out the "How To Raise a "File Download" Dialog Box ?" section on this page for more info: