This is a similar database integrated file upload feature that you may be able to adjust to your needs. It enters a record in a database, then redirects the user to a new page where they specify the location of the file to be uploaded from their local drive. (The record ID is passed to the upload page via query string). The upload page then calls the following VB/ASP.NET script to do the actual upload:
[CODE]
[/CODE]
This script assumes that the file type will be .pdf, and a small regular expression subroutine is used to validate this. Please note that the record ID has been stored in a hidden field “pubID” on the upload page form.
The reason I did not use ASPUpload for this is due to the fact that the file size limitation was an issue.