For your users to upload files, you must provide them with the following interface:
<form method=POST name=form1 action=handler.asp enctype='multipart/form-data'> <input type=file name=filename> <input type=submit value=' Go >> '> </form> |
To handle the uploaded file(s) from ASP, you typically need a component (some of these are free):
ASPUpload aspSmartUpload ABCUpload Dundas Upload Fath Upload Infomentum ActiveFile MiniUpload MS Posting Acceptor SAFileUp W3 Upload Win ASP Up/Download Component There are also a few ways to upload files without traditional 3rd party components; however, note that Ray Costanzo has done extensive testing and, for anything but the smallest files, the ASPUpload component ran circles around the component-less scripts. A lot of people ask, "can I get a free upload script?" Yes, but spending $100 is going to outweigh the time you spend adapting one of these scripts to your site, and then some. Never mind the performance gains and of course the vendor support...
Active Server Developer's Journal ASP 101 aspfaqs.com ASPFree Curt C Taka.nl Pure-ASP Upload StarDeveloper For exact syntax to handle the incoming file(s), please see the documentation and sample code that will be available with whatever choice you make.