By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,186 Members | 1,530 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,186 IT Pros & Developers. It's quick & easy.

Using <form ... enctype="multipart/form-data">

P: n/a
I am using an upload util and I was told I need this option,
enctype="multipart/form-data", in my FORM tag. How do I reference the other
form fields within the form from ASP?

THanks,

--
David Lozzi
Associated Business & Technology Group
www.associatedbtg.com

I should've known that....but I had a brain fart.
Jul 19 '05 #1
Share this Question
Share on Google+
5 Replies


P: n/a
It depends on the upload component you're using. It should be in the
documentation for the component.

Ray at work

"David Lozzi" <dl****@associatedbtg.com> wrote in message
news:ue*************@tk2msftngp13.phx.gbl...
I am using an upload util and I was told I need this option,
enctype="multipart/form-data", in my FORM tag. How do I reference the other form fields within the form from ASP?

Jul 19 '05 #2

P: n/a
"David Lozzi" <dl****@associatedbtg.com> wrote in message
news:ue*************@tk2msftngp13.phx.gbl...
I am using an upload util and I was told I need this option,
enctype="multipart/form-data", in my FORM tag. How do I reference the other form fields within the form from ASP?


http://www.15seconds.com/issue/981121.htm

--
Tom Kaminski IIS MVP
http://www.iistoolshed.com/ - tools, scripts, and utilities for running IIS
http://mvp.support.microsoft.com/
http://www.microsoft.com/windowsserv...y/centers/iis/

Jul 19 '05 #3

P: n/a
If i remove the enctype, then I get an error stating "Cannot call BinaryRead
after using Request.Form collection" on this line:

biData = Request.BinaryRead(Request.TotalBytes)

By the looks at it, I cannot use the enctype for my basic form values?

--
David Lozzi
Associated Business & Technology Group
www.associatedbtg.com

I should've known that....but I had a brain fart.
"Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in message
news:O9*************@tk2msftngp13.phx.gbl...
It depends on the upload component you're using. It should be in the
documentation for the component.

Ray at work

"David Lozzi" <dl****@associatedbtg.com> wrote in message
news:ue*************@tk2msftngp13.phx.gbl...
I am using an upload util and I was told I need this option,
enctype="multipart/form-data", in my FORM tag. How do I reference the

other
form fields within the form from ASP?


Jul 19 '05 #4

P: n/a
Why don't you tell us what upload component you're using?

Ray at work

"David Lozzi" <dl****@associatedbtg.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
If i remove the enctype, then I get an error stating "Cannot call BinaryRead after using Request.Form collection" on this line:

biData = Request.BinaryRead(Request.TotalBytes)

By the looks at it, I cannot use the enctype for my basic form values?

--
David Lozzi
Associated Business & Technology Group

Jul 19 '05 #5

P: n/a
anyway, once you have oinvoqued the readbinary method you cannot ask for a
request.form("param").
you will have to handle the others parameters in the smae components or
parse the string (the result of readbinary) to find your others parameters
Jul 19 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.