Best way to upload multiple files from a browser

前端 未结 9 1285
太阳男子
太阳男子 2020-12-12 17:37

I\'m working on a web application. There is one place where the user can upload files with the HTTP protocol. There is a choice between the classic HTML file upload control

9条回答
  •  眼角桃花
    2020-12-12 17:56

    OK this is my take on this

    I did some testing with swfupload, and I have my previous experience with Java, and my conclusion is that whatever technology is used there is no perfect solution to do uploads on the browser : you'll always end up with bugs when uploading huge files, going through proxies, with ssl, etc...

    BUT :

    • a flash uploader (a la swfupload) is really lightweight, doesn't need authorization from the user and has a native interface which is REALLY cool, me thinks
    • a java uploader needs authorization but you can do whatever you want with the files selected by the user (aka compression if needed), and drag and drop works well. Be prepared for some epic bugs debuggin' though.
    • I didn't get a change to play with Silverlight as long as I'd like maybe that's the real answer, though the technology is still quite young so ... I'll edit this post if I get a chance to fiddle a bit with Silverlight

    Thanks for all the answers !!

提交回复
热议问题