Upload file with Digital File Pro 1.3
I am trying to apply the file upload function to a form. I have created the form and got it working fine before I apply the upload element.
When I go to apply it I get the message 'You must have at least one upload form on the page to use file upload'
I have a file upload field. If I delete it and re-apply it then I am able to apply the File Upload but when I try to upload the file by submitting the form I get this error
'Request object error 'ASP 0207 : 80004005'
Cannot use Request.Form
/hfh/job_apply.asp, line 55
Cannot use Request.Form collection after calling BinaryRead. '
Line 55 contains this code
WA_fieldValuesStr = "" & cStr(cStr(Request.Form("AdvertID"))) & "" & "|" & "" & cStr(cStr(Request.Form("AccountID"))) & "" & "|" & "" & cStr(cStr(Request.Form("ResponseEmail"))) & "" & "|" & "" & cStr(cStr(Request.Form("Reference"))) & "" & "|" & "" & cStr(cStr(Request.Form("Company"))) & "" & "|" & "" & cStr(cStr(Request.Form("Applicant_Name"))) & "" & "|" & "" & cStr(cStr(Request.Form("Applicant_Surname"))) & "" & "|" & "" & cStr(cStr(Request.Form("Applicant_Address1"))) & "" & "|" & "" & cStr(cStr(Request.Form("Applicant_Address2"))) & "" & "|" & "" & cStr(cStr(Request.Form("Applicant_City"))) & "" & "|" & "" & cStr(cStr(Request.Form("Applicant_County"))) & "" & "|" & "" & cStr(cStr(Request.Form("Applicant_Postcode"))) & "" & "|" & "" & cStr(cStr(Request.Form("Applicant_Telephone"))) & "" & "|" & "" & cStr(cStr(Request.Form("Applicant_Mobile"))) & "" & "|" & "" & cStr(cStr(Request.Form("Applicant_Email"))) & "" & "|" & "" & cStr(cStr(Request.Form("Applicant_Message"))) & "" & "|" & "" & cStr(WA_DFP_UploadStatus.Item("WA_UploadResult1").serverFileName) & ""
How can I resolve this issue?