|
asp uploads
I have a problem that I have worked on for a couple of days and am pulling my hair out and hope you can and will help me. My situation is this:
I have a form with several input fields and one I want to be a file type input field. I want the user to be able to browse for the file to upload and then store the location in the input field for later processing. Once you click submit, you are sent to a processing page, which creates a recordset and creates a new record in the database. I now want the system to upload the file, based on the location you entered into the input field on the first page as source to a location hard coded.
I have installed aspSmartUpload.dll and it works great if I upload the file without the database processing. The error I am getting is the: “Cannot use Request.Form collection after calling BinaryRead”. I have read that I cannot use the binaryread and request.form object on the same page. However, I have got bits and pieces of info that lead me to believe there is a way to do this and want to see what your thoughts or knowledge of this is.
This is an internal site for entering change request information for my company and my manager does not want the user to have to create the Request and then click a button after to attach a file.
I hope this is clear and am looking forward to your response.
Thanks so much in advance for your input
|