Home > ASP Development > upload files

upload files



<i><b>Originally posted by : Marcio Marques (marcioa@bms.com.br)</b></i><br />I put this form to receive a file from a user (upload from user's file system). I have to built 'receive.asp' to receive this file and I don磘 know how to do that. <br /><br /><FORM ENCTYPE="multipart/form-data" ACTION="receive.asp" METHOD=POST> <br />Send this file: <INPUT NAME="userfile" TYPE="file"><br /><INPUT TYPE="submit" VALUE="Send File"> <br /></FORM> <br /><br /><br />I have tried (in receive.asp):<br /><br /><br /> <%file1 = Request.Form("userfile")%><br /> or<br /> <%file1 = Request.Form()%><br /><br />but they don磘 work!<br />Does anyone have any suggestion?<br /><br />Thanks in advance<br />

    
Guest


<i><b>Originally posted by : (marcioa@bms.com.br)</b></i><br /><br />Hi,<br /><br /><br />You should try going to softartisans.com They have a component which lets you upload any type of files and also when you have the ENCtype=multioart/form-data you cannot use Request.Form. YOu need to set an instance of softartisans component and you have to use that object.<br />Otherwise you can write your own dll.How to write a dll in VB for uploading the files is available on the internet.<br /><br /><br />------------<br />Marcio Marques at 2/3/00 8:15:20 AM<br /><br />I put this form to receive a file from a user (upload from user's file system). I have to built 'receive.asp' to receive this file and I don磘 know how to do that. <br /><br /><FORM ENCTYPE="multipart/form-data" ACTION="receive.asp" METHOD=POST> <br />Send this file: <INPUT NAME="userfile" TYPE="file"><br /><INPUT TYPE="submit" VALUE="Send File"> <br /></FORM> <br /><br /><br />I have tried (in receive.asp):<br /><br /><br /> <%file1 = Request.Form("userfile")%><br /> or<br /> <%file1 = Request.Form()%><br /><br />but they don磘 work!<br />Does anyone have any suggestion?<br /><br />Thanks in advance<br />

Was this answer helpful ? Yes No   
Guest
 
 
Home - About Infoqu - Contact - Privacy Statement - Link to Infoqu - Bookmark Infoqu

Copyright 2007-2008 by Infoqu. All rights reserved