I found this script to upload a file with
ASP:
http://www.asp101.com/articles/jacob/scriptupload.asp
I'm uploading a file and setting values from a form to a
SQL database.
It tells me:
Request object error 'ASP 0206 : 80004005'
Cannot call BinaryRead
/secur-it/upload.asp, line 64
Cannot call BinaryRead after using Request.Form collection.
So I went to the upload.asp file thats included and commented out this line:
Line 64: biData = Request.BinaryRead(Request.TotalBytes)
That fixed the error, but then it won't get the file name, or save it to the folder on the server.
how do I do a form request AND upload a file?