Open MaStr opened 11 years ago
Idea behind this version of multi-upload was a mentioned python script on the mainpage. During my testinstall, I recognized that the python script is running on google's app engine and not native in cgi :-1:
It is possible to implement it with jquery without needing the google's app engine, done this some time ago. It was custom build for an companies intranet, sadly I don't have the code anymore, but wouldn't be to hard to recreate.
Also renaming wouldn't be an issue, it can also be renamed to the original file name if needed. The file limmit set by lighthttpd is not a limmit anymore, since the chunks can be put togeterhet again and superseding the max file limmit.
If I remember correctly it is even possible to extract zip files client side, and make it possible to upload zip files and before upload extract the contents before hand. (but I have to look into this).
Yes, I already did alot testing with jquery+php and doing limits in lighttpd and so on. What I did ot in my tests: do it without fastcgi .. so compared to my developed in the last time, the results from a year ago are not completly comparable.
And maybe with the fix for USB, the issues I encountered are now solved too.
So a solution with php+jquery is solvable :)
To be honest I think php is too resource hungry and maybe worth to persue a different way to upload multipart data.
the best way would be without doing compiles for packaging... that is solved by interpreter languages. What is your suggestion... to combine a nice pre-build UI with an "easy" solution at the backend..mh .
I would do either something in perl or python http://docs.python.org/2/howto/webservers.html#fastcgi-and-scgi http://perldoc.perl.org/CGI/Fast.html
http://redmine.lighttpd.net/issues/164#note-9 (needs lighttpd running on an additional socket ++ mod_proxy )
combined with: https://github.com/sigurdga/django-jquery-file-upload
=== Solution?
Technically working included to the develeopment branch
now the boxes etc. must be included to UI
See git-Repository blueimp/jQuery-File-Upload
See demo: http://blueimp.github.com/jQuery-File-Upload/
Python backend already written (we maybe have to improve it). Contains active support, instead of that c't example
5.1. Filesize max in lighttpd 20MB 5.2. all possible upload files (exclude ../ in Filename and index.* )