in reply to Re^3: How to download a file from the server (content disposition CGI->header( qw{ -type mime/type -attachment filename } ) )
in thread How to download a file from the server
Hi ,
The downloading is working now for simple text files.
For downloading excel file (.xls) I am using the following content but the files are getting downloaded of 0 bytes size and corrupted.
I am using following content type for excel but of no use.
Please help.
print "Content-Type:application/vnd.ms-excel\n"; print "Content-Disposition:attachment;filename=data.xls\n\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: How to download a file from the server (content disposition CGI->header( qw{ -type mime/type -attachment filename } ) )
by Corion (Patriarch) on Jul 24, 2013 at 13:48 UTC | |
|
Re^5: How to download a file from the server (content disposition CGI->header( qw{ -type mime/type -attachment filename } ) )
by Anonymous Monk on Jul 24, 2013 at 13:31 UTC |