472,122 Members | 1,451 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,122 software developers and data experts.

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>

Jul 22 '07 #1
1 1714
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
Jul 23 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by John Rebbeck | last post: by
2 posts views Thread by Vilmar Brazão de Oliveira | last post: by
1 post views Thread by Rahul | last post: by
5 posts views Thread by the other john | last post: by
6 posts views Thread by Laphan | last post: by
53 posts views Thread by souporpower | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.