Author |
|
Guest Guest Group
Joined: 10 November 2003
Online Status: Online Posts: 262
|
Posted: 29 March 2005 at 12:48am | IP Logged
|
|
|
When using the MailBee.Uploader, I receive this error:
Cannot call BinaryRead after using Request.Form collection.
After doing some research, I found that this occurs when using the Request.Form, and instead you are supposed to use Upload.Form.
The problem with this is that while it uploads the attachment, it ignores all other objects in the form besides file types.
Is there a solution to this?
|
Back to Top |
|
|
Alex AfterLogic Support
Joined: 19 November 2003
Online Status: Offline Posts: 2206
|
Posted: 29 March 2005 at 8:10am | IP Logged
|
|
|
Since ASP's built-in Request object cannot parse forms with files (forms containing enctype="multipart/formdata"), you cannot use Request object for such forms. Use Uploader.FormElements collection instead.
For example, if you previously had:
Code:
strName = Request.Form("my_name") |
|
|
now you should use:
Code:
strName = Uploader.FormElements("my_name") |
|
|
Regards,
Alex
|
Back to Top |
|
|