SoftArtisans FileManager is a robust file management component that comes bundled free with FileUp.
First call the Save method of the FileUp object, and subsequently call FileManager's ExportToBlob method to export the file from the file system to the database.
You can pass the path of the uploaded file to the ExportToBlob method using FileUp's ServerFilename property.
for example:
objFileManager.ExportToBlob objFileUp.Form("file1").ServerFilename, objRS.Fields("FileBinary")
More about ExportToBlob and FileManager can be found here:
FileManager's ExportToBlob method
Please see attached file for a sample. |