Download large files with browsers without hanging (preferably with flash)

I am trying to upload many files from a browser to a web server with which I am in full control. I tried to use SWFUpload, but the problem is that my browser freezes when I upload a file. Files are supposed to be of any length (up to 2 GB due to other limitations, of course).

While loading, the browser freezes and the GUI is not updated. When the file loads, the GUI responds again. In firefox, the entire browser closes, and in Chrome, only the tab.

I thought that this could be due to a flash trying to first insert the entire file into memory, but this does not seem to be the case (although different test cases gave different results, but I'm not sure for this reason).

An applet is also an option, although flash is preferred. The reason I don't want to use the form is because you can select multiple in Flash (also possible with Java, I suppose), which is a good function I'm going to do.

Any ideas? Thought?

(math | resp) IFRS

+4
source share
5 answers

If you are using Linux, this is a known issue. For Windows users, this does not happen. Otherwise, you will have to stick with ajax (the best way is to use the jQuery forms plugin). http://www.plupload.com/ , this one looks interesting, but I have not studied it. You may try.

+1
source

Try AJAX: http://sourceforge.net/projects/uber-uploader/

Resource lighter and more platform independent.

0
source

On the client side, I like this jquery plugin:

http://valums.com/ajax-upload/

if you need server side processing examples:

http://php.net/manual/en/features.file-upload.php

0
source

I use this for my projects ... http://jupload.sourceforge.net/ I found that I had better results, though, when I used it in FTP Mode. I had problems downloading HTTP. It supports multiple files, which is nice. You can upload files to the "inbox" and then process them later when the transfer is complete.

0
source

Check out SWFUpload swfupload.org

and there is a discussion on this issue: http://swfupload.org/forum/generaldiscussion/173

-1
source

Source: https://habr.com/ru/post/1300678/


All Articles