- I am writing an application that allows users to upload very large files. (In some cases over a very slow network)
- I would like to let users start the upload of a file, and then browse to other parts of the application/site.
What I've tried:
I have tried creating a hidden
iframe on the same page in order to create a separate DOM that will be preserved upon redirect. I was initially going to have the visible file input fire an onsubmit that would send the file over to the iframe's DOM, then have it run an upload using jquery file upload.
What I'm looking for:
- File uploads should be:
- Able to run in the background
- Should be compatible with Ruby on Rails 4 (in case that's an issue)