Are you displaying back to the web page using ns_returnfile (should work)? or one of ns_write, ns_return (probably won't work since your content is binary. may work in 4.0)
On Friday 17 January 2003 03:22 pm, Durga wrote: > Hey Dossy/Pete, > > Has anyone had issues with uploading binary file using multipart/form-data > on AOLserver 3.5.0?..I am having troble uploading binary files. Please let > me know if anyone knows fix for this problem. > > Thanks in advance for any inputs! > > -Durga > > > > -----Original Message----- > From: AOLserver Discussion [mailto:[EMAIL PROTECTED]]On Behalf > Of Durga > Sent: Tuesday, January 14, 2003 4:14 PM > To: [EMAIL PROTECTED] > Subject: [AOLSERVER] Uploading file - problem! > > > I am trying to upload the file onto aolserver( v3.5.0, SunOS 5.7 ). I have > successfully uploaded the file to destination directory, but NOT able to > display back onto web page when the same file is Word doc. However, I don't > have problem with regular *.txt file, I am able to view/display back on the > web. > > Here is the code I have: > > set localfile [ns_queryget localfile] > set fileloc [ns_queryget localfile.tmpfile] > ......... > ......... > exec /usr/bin/cp [ns_queryget localfile.tmpfile] $dirpath$upname > ---------------- > > Any ideas? > > -Durga
