Difference between revisions of "Ns returnfile"
Jump to navigation
Jump to search
Jadeforrest (talk | contribs) |
Jadeforrest (talk | contribs) (added content disposition hint) |
||
Line 3: | Line 3: | ||
For now, see [[ns_return]] | For now, see [[ns_return]] | ||
+ | |||
+ | Want to name the file? | ||
+ | |||
+ | ns_set update [ns_conn headers] content-disposition \ | ||
+ | "attachment; filename=1.abc" |
Revision as of 19:14, 19 June 2008
ns_returnfile 200 "application/zip" $filepath ns_returnfile 200 [ns_guesstype $file] $filepath
For now, see ns_return
Want to name the file?
ns_set update [ns_conn headers] content-disposition \
"attachment; filename=1.abc"