I have a webpage where users can create a database record and select a file they want to upload to the database server. these files can be big, like 100mb.
I dont want the user to wait, so I want the file to be uploaded in the background. So that they can continue with doing other stuff while the file is being uploaded.
Is BITS the way to go for this? Or is that only for Fatclient development? Any good tuterials ?
If BITS is not the way to go, what are my options? An ajax call to a services with the filelocation?
If you, by saying "they can continue with doing other stuff", mean that they can do other Ajax requests on the same web page (i.e. not navigating away from it), you can accomplish this with any Flash-based uploader (SWFUpload is one of many). This doesn't require anything but some JavaScript, an
<input type="file">
and the embedded Flash uploader.If you want the user to be able to navigate away from the page initiating the upload, you can't really do it within the browser, at least not until WebSockets are fully implemented in all browsers. Even then, it's going to be quite hard.