|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdits unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today! |
|
#1
|
|||
|
|||
|
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īt 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īt work!<br />Does anyone have any suggestion?<br /><br />Thanks in advance<br />
|
|
#2
|
|||
|
|||
|
<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īt 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īt work!<br />Does anyone have any suggestion?<br /><br />Thanks in advance<br />
|
![]() |
| Viewing: ASP Free Forums > Programming > ASP Development > upload files |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|