|
Often there is a need to accept file upload from a website, it can be any type of file. There are two ways to upload, using a upload component or just using script. Using a component has some extra benefits and often comes with added functionality. Upload files, asp upload file. We will test with a simple upload method here with out extra components. The script uses Request.BinaryRead method or adodb's stream to upload to get file data. Please note that iis limits upload size, so in order to upload large files, you should enable that on iis. There are three upload scripts that I collected. The first one fileuploader.zip is the simples and the example shows uploading one file. You can modify that to upload more that one file. The second script freeASPUpload.zip shows an example to upload multiple files at once and I think its usage is also simple. The third example Upload_File.zip looks like a bit complex but come with an example to upload files directly into an ms access database.
|