In the docs it indicates that this type of thing will work (i.e. using ns_queryget
with the name of a file widget appended with ".tmpfile") to get uploaded file
contents. It doesn't seem to. I have used ns_get_multipart_formdata before with
success, but can't in this case since I need to call [ns_conn form] first to see if
the form contains a file widget. The docs imply that ns_get_multipart_formdata should
not be called after ns_conn form.
Is this functionality broken? Is there a better way?
proc formtest { } {
set remotefile [ns_queryget path]
set localfile [ns_queryget clientfile]
set where_the_data_is [ns_queryget clientfile.tmpfile]
} ;# formtest
Ian A. Harding
Programmer/Analyst II
Tacoma-Pierce County Health Department
(253) 798-3549
mailto: [EMAIL PROTECTED]