What I wanted was something simple, centralized, easy to use and FREE!
I have seen numerous "pure ASP" upload solutions, some you even had to purchase, that did the job, but required you to wade through pages of code just to see how things worked.
Then there are the COM components that you can buy that do what you want and more, but cost an arm and leg to obtain.
([email protected]) You can download the library and sample files below (4 KB).
Jacob Gilley's Pure ASP File Upload is an effective, free method for uploading user files to your server.
Although well implemented, I found that the file I/O needed improvement.
Concatenation is quite slow in VBScript and it was actually faster to write a single byte at a time to the disk than to concatenate the file prior to saving.This is very useful for creating common pieces of ASP code, which can be reused by many ASP pages within your ASP application.The previous FAQ discussed the importance of using functions in your ASP to modularize your code.For most websites, the pages that make up the site all share a common layout and set of elements.ASP allows you include external files within ASP pages, by using the #include ASP directive.The library consists of two VBScript classes: File Uploader and Uploaded File.