Hi Ashley,
so to be clear, _uploading_ is working ok, but _downloading_ of ZIP files which are say in the uploads folder (and you know are fine) is not working?
I put a ZIP file in the web folder, and if I go to
127.0.0.1:88/happy.zip
then it downloads and opens ok. so it seems this isn't a problem with downloading a ZIP file in the
\web\folder.
in your example you have a NetWebPage called GenerateFile.
If I go to 127.0.0.1:88/generateFile
then I get a "Bad Request" error. Is this what you are talking about?
If I look in that procedure, I see that you have it set as
Page Type: File
File name: loc:fileName
But looking in the procedure itself, loc:filename is not set to anything. So the error is understandable, downloading a "blank file" doesn't seem to make too much sense.
If I set loc:filename to doc1.doc, then I get a "Page cannot be found" error. Is this the error you have in mind?
I had loc:filename = 'doc1.doc' and got the "page not found" error.
But that's because I wasn't specific as to the path. (if you don't add a path it assumes web folder).
So I changed it to
loc:filename = 'c:\temp\ashley\doc1.doc'
and the call to 127.0.0.1:88/generateFile
downloads the doc file and it opens in word ok.
so I guess you need to give me more specific information on what you are doing / seeing, and what you are hoping to get back...
cheers
Bruce