How do I insert the file into database asynchronously while uploading a large file?

  •  05-24-2009, 9:53 PM

    How do I insert the file into database asynchronously while uploading a large file?

    Here is my situation, I am using Ajax Uploader to allow users uploading file to and downloading file from database. You see I am using database image to store the files instead of file location.
     
    Every time a user uploading a large file, Ajax Uploader put that file in the temporary folder. Now I can only insert the file into database after the large file is completely uploaded to the temporary folder.
     
    Here is my problem, it takes time to insert the large file into database which has impact on the usability of my program. Can I start my inserting before the file uploading is completed?
View Complete Thread