Help needed for ASPUpload - Cannot access Form elements

Hi, I wrote this simple code to use the ASPUpload component within my
asp page. I have ASPUpload 3.0 installed.

The problem is, Iam not able to access the Form collection items with
the Uploader object.
Can anyone help ? Heres the code.

<%
Dim Uploader
Set Uploader = Server.CreateObject("Persits.Upload")
Response.Write Uploader.Form("p1")
'// --> doesnt return anything, the Uploader.Form count is found to be
0

%>

<FORM method="POST" ENCTYPE="multipart/form-data" name="Event_Group"
action="upload.asp">
<input type="text" name="p1" id="p1" value="hey"/>
<input type="submit" />
</FORM>
Sagar [ So, 22 Juli 2007 18:51 ] [ ID #1775468 ]

Re: Help needed for ASPUpload - Cannot access Form elements

a webhost example was found here:

http://www.verio.com/support/documents/view_article.cfm?doc_ id=3606


also check at persits website FAQ
Jon Paal [ So, 22 Juli 2007 20:14 ] [ ID #1775470 ]

Re: Help needed for ASPUpload - Cannot access Form elements

Sagar wrote on Sun, 22 Jul 2007 09:51:21 -0700:

> Hi, I wrote this simple code to use the ASPUpload component within my
> asp page. I have ASPUpload 3.0 installed.
>
> The problem is, Iam not able to access the Form collection items with
> the Uploader object.
> Can anyone help ? Heres the code.
>
> <%
> Dim Uploader
> Set Uploader = Server.CreateObject("Persits.Upload")
> Response.Write Uploader.Form("p1")
> '// --> doesnt return anything, the Uploader.Form count is found to be
> 0

Where's the Save method? You need to call one of the save methods to have
the object parse the data so you can access it.

Dan
Daniel Crichton [ Mo, 23 Juli 2007 12:20 ] [ ID #1776230 ]
Webserver » microsoft.public.inetserver.asp.general » Help needed for ASPUpload - Cannot access Form elements

Vorheriges Thema: URGENT> Starting up a VB application from ASP
Nächstes Thema: Data size too large in IIS