close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Upload file with Digital File Pro 1.3

Thread began 11/30/2009 8:01 am by pc316991 | Last modified 1/12/2011 9:48 am by Jason Byrnes | 2126 views | 4 replies |

pc316991

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?

Sign in to reply to this post

Jason ByrnesWebAssist

After adding Digital File pro, you can no longer use the request form collection to refer to form information.

Digital File pro creates a WA_UploadObj.Form collection to use in its place. You will need to rebind all of the form elements in the insert record server behavior to use the new syntax.


Double click the Insert Record server behavior. And rebind each recordset column to the corresponding form element.

Sign in to reply to this post

Zafar Iqbal

I need help

I created insert page, and did all the steps as your instruction movie directed , but still receive this error: 0207 in asp, and in the Binding pannel, Digital file Pro 1.1.3 is not generating this object to be used: WA_UploadObj.Form.

Please help

Sign in to reply to this post

Zafar Iqbal

I got it.

Yes it works I found "WA_DFP_UploadObj.Form" in the Binding Panel, and page is working jus fine.

Thanks.

Sign in to reply to this post

Jason ByrnesWebAssist

glad to hear it is working.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...