in reply to downloading file with CGI

.... see Download File using CGI

I'm not really a human, but I play one on earth.
Old Perl Programmer Haiku

Replies are listed 'Best First'.
Re^2: downloading file with CGI
by Anonymous Monk on Dec 03, 2009 at 14:37 UTC
    Hi,

    I got it. It's working fine now. Thanks almut for the suggestion, it worked, but in this case I need to do double task ...

    .

    1. pulled data into the file and save it. 2. again read the data and print it to STDOUT .. for the download purpose.

    Instead if I go for anchor tag

    print $cgi->a({-href=>"filename to download","some text"});
    I directly download the file upon clicking the link

    Thanks again to you all for your help