If the ultimate destination of a file is the database, you may consider using uploads to memory (described in the previous chapter) for better security and performance.
The sample files and ado_demonstrate the combined use of memory uploads and File. This code sample also utilizes one-way hashing to determine whether a newly uploaded file already exists in the database.
If you are implementing a file storage application such as a document archive or image repository, storing the files in the database is a sensible alternative to keeping them in a folder.
The advantages of the database approach are: To demonstrate Asp Upload's database features, a sample MS Access database, aspupload.mdb, has been included in the installation.
Needless to say, Asp Upload offers an ADO-based method for exporting files from the database to hard drive. From Recordset which accepts a recordset value and a local path as parameters.