#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2011
    Posts
    1
    Rep Power
    0

    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.
  2. #2
  3. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2008
    Posts
    22
    Rep Power
    0
    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:

    http://www.tutorialspoint.com/perl/perl_cgi.htm

IMN logo majestic logo threadwatch logo seochat tools logo