Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Upload asp problem

Status
Not open for further replies.

markdt

Technical User
Feb 15, 2006
63
GB
Hi All,

I have this piece of code:

<FORM METHOD="POST" ENCTYPE="multipart/form-data" ACTION="uploadexmple.asp">
<TABLE BORDER=0>
<tr><td><b>Select a file to upload:</b><br><INPUT TYPE=FILE SIZE=50 NAME="FILE1"></td></tr>
<tr><td>
<INPUT TYPE=FILE SIZE=50 NAME="FILE2"></td></tr>
<tr><td>
<INPUT TYPE=FILE SIZE=50 NAME="FILE3"></td></tr>
<tr><td><b>Save To:</b>&nbsp;&nbsp;
Disk&nbsp;<INPUT TYPE=RADIO NAME="saveto" value="disk" checked>&nbsp;&nbsp;
Database&nbsp;<INPUT TYPE=RADIO NAME="saveto" value="database">
</td></tr>
<tr><td align="center"><INPUT TYPE=SUBMIT VALUE="Upload!"></td></tr>
</TABLE>
</FORM>

Which posts to uploadexmple.asp. My problem is i want to be able to include this file into an existing asp page which already has a form attribute. I have tried removing the form code from the code above and posting it to the existing page i have but i have had no luck. Anyone with any ideas?

Thanks

Mark
 
Thanks for your reply, ive managed to sort it now. Ended up using Pure ASP File Upload script and replaced all the Request.Form code for Uploader.Form and this works great.

Thanks again

Mark
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top