Arnold Layne
asked on
Accepting binary data from form fields in classic asp
I have a form with text values but also has a <input type="file"> field. Therefore, I need to add "enctype=multipart/data" to my form tag. This causes the string values of the other text fields to be unreadable by the Request object. So is there another method I could use to get the text field form data and convert it to a string? If so, could you also tell me the function to switch it back before submission?
ASKER
Is upload object a class that I need to load? If so, where would I get that class from?
Ok, you have a File upload control on your page, what are you using to execute the actual upload? What is the name of your upload object? Can you post the code you are using to perform the upload?
ASKER
OK, so you're talking about third party classes. So if I get this, can i merely take the value that the upload object returns and convert it to a string?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
i.e
Dim MyUploader
set MyUploader = ....
FieldValue = MyUploader.Form("FieldName