in reply to downloading file with CGI
There's nothing magic about the -attachment header — it's just a hint to the browser to prompt the user to save the content sent by the CGI script (instead of displaying it). But you still have to send the content, i.e. read booklist.csv and print it to STDOUT...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: downloading file with CGI
by Anonymous Monk on Dec 02, 2009 at 19:55 UTC | |
by almut (Canon) on Dec 02, 2009 at 20:05 UTC |