[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cgiapp] Download a file


Hello!

I have this CGI::App and I want to give the user the possibility to
download a file. For this, I show him a link which will execute one of
my run-mode's. The file is outside htdoc. So I quite don't know how to
accomplish that. It is possible in the run-mode to set the header as
octet/stream and set the attachment to my file (like $file =
/test/file.zip)? And after that, what do I do? 

-- 
Regards,
Stelian I.


---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/suppressed/
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.