From: Vinay Vasu on
Thanks Anthony, Neil, Mike and Jon for your prompt reply, Ill try all the
options you have provided.

Thanks Again




"Vinay Vasu" <vinay(a)vinay.com> wrote in message
news:OHO2PKsTJHA.1184(a)TK2MSFTNGP03.phx.gbl...
> Hi All,
>
> I am able to upload the files but when i put a check like
> Request.Form("subimt") <> "" it gives me error
>
> Error Type:
> Request object, ASP 0206 (0x80004005)
> Cannot call BinaryRead after using Request.Form collection.
>
> if i put the Request.form anywhere in the page it gives me error
> Cannot call BinaryRead after / before using Request.Form collection
>
>
> And if i am not using the Request.Form object and try using the
> BinaryRead's form collection script it gives me the following error:
>
> Microsoft VBScript runtime (0x800A0005) Invalid procedure call or
> argument: 'MidB' on line 141
>
> where in line 141 I find is :
> separator = MidB(rawData, 1, InstrB(1, rawData, ChrB(13)) - 1)
>
>
> My application runs this way:
>
> I need to upload files based on the subject. The subject is selected in
> the first page and then submitted to the topics page where the Upload
> script is written.
> I first have to check wether the Request.Form is null or not and only then
> run the upload script.
>
>
> Is there any other way to the same thing, any help would be highly
> appreciated
>
> Thanks in advance,
> Vinay Vasu
>
>


From: Ron Hinds on
"Mike Brind" <paxtonend(a)hotmail.com> wrote in message
news:uY%23kxqzTJHA.2468(a)TK2MSFTNGP05.phx.gbl...
>
> In addition to the help provided already, you may be able to consider
> incorporating an ASP.NET page or two in your site to handle this. ASP.NET
> offers a free file upload control that is many times better than pure
> VBScript classic ASP ones.
>

Hi Mike - could you elaborate on how to do this - i.e., do you have a link
to an article or something? Thanks!


From: Mike Brind on

"Ron Hinds" <billg(a)microsoft.com> wrote in message
news:eZ8nGnvXJHA.556(a)TK2MSFTNGP06.phx.gbl...
> "Mike Brind" <paxtonend(a)hotmail.com> wrote in message
> news:uY%23kxqzTJHA.2468(a)TK2MSFTNGP05.phx.gbl...
>>
>> In addition to the help provided already, you may be able to consider
>> incorporating an ASP.NET page or two in your site to handle this.
>> ASP.NET offers a free file upload control that is many times better than
>> pure VBScript classic ASP ones.
>>
>
> Hi Mike - could you elaborate on how to do this - i.e., do you have a link
> to an article or something? Thanks!
>

There's plenty of help for ASP.NET at www.asp.net. There's also a bunch of
video tutorials:
http://www.asp.net/learn/videos/default.aspx?supportsjs=true. Number 32
seems to be what you are looking for.

--
Mike Brind
MVP - ASP/ASP.NET


From: Ron Hinds on
"Mike Brind" <paxtonend(a)hotmail.com> wrote in message
news:uZOJLP1XJHA.4596(a)TK2MSFTNGP06.phx.gbl...
>
> "Ron Hinds" <billg(a)microsoft.com> wrote in message
> news:eZ8nGnvXJHA.556(a)TK2MSFTNGP06.phx.gbl...
>> "Mike Brind" <paxtonend(a)hotmail.com> wrote in message
>> news:uY%23kxqzTJHA.2468(a)TK2MSFTNGP05.phx.gbl...
>>>
>>> In addition to the help provided already, you may be able to consider
>>> incorporating an ASP.NET page or two in your site to handle this.
>>> ASP.NET offers a free file upload control that is many times better than
>>> pure VBScript classic ASP ones.
>>>
>>
>> Hi Mike - could you elaborate on how to do this - i.e., do you have a
>> link to an article or something? Thanks!
>>
>
> There's plenty of help for ASP.NET at www.asp.net. There's also a bunch of
> video tutorials:
> http://www.asp.net/learn/videos/default.aspx?supportsjs=true. Number 32
> seems to be what you are looking for.
>
> --
> Mike Brind
> MVP - ASP/ASP.NET

Thank you!