Carlos Villela
Carlos Villela

Reputation: 515

What's the most bullet-proof way to upload large files in a web app?

We have to accept large file uploads (video content) and want to do that in a way that works well across all standards-compliant browsers and plug-ins. Our current setup looks like this:

On the server-side, we have nginx and the upload module streaming the uploaded files into the server, then handing the requests off to a merb app.

Unfortunately, it looks like the recently released Adobe Flash Player 10 broke every single free/open uploading flash component out there (and then, some other sites which have their own proprietary versions as well), but some other sites, such as Flickr and Vimeo, seem to work just fine.

I've been poking around looking for other ways of doing this, but since compatibility with both Flash 9 and 10 is mandatory, I couldn't find a suitable solution. Any ideas?

Upvotes: 5

Views: 3771

Answers (5)

Khaled Al Hourani
Khaled Al Hourani

Reputation: 3327

Java uploaders are the best tools for large files, try Rad Upload it's very useful for large files.

Upvotes: 2

Mauricio Scheffer
Mauricio Scheffer

Reputation: 99720

I've been using JumpLoader with good results. Support is great, free version available, even includes some basic image processing functions (crop, resize, etc).

According to my google analytics data (non-tech website), 99% of visitors have Java installed, so that's not a problem.

Of course, always provide a simple input type="file" alternative, just in case.

Upvotes: 2

VirtuosiMedia
VirtuosiMedia

Reputation: 53356

Try FancyUpload. It's a MooTools uploader and it works for both Flash 9 and 10.

Upvotes: 2

Jason Christa
Jason Christa

Reputation: 12488

File uploading is always a pain.

I tried a few flash uploaders a while ago and it seems all of them had the limitation of not being to display a progress bar on Macs. Not to mention the upgrade to flash 10 broke most flash uploaders so users of our company app went from multiselecting a whole folder with 50 files to upload at once to uploading 50 files one at a time.

Java uploaders work fine (even through Java updates) but if you don't have small user base that you can explain why they need to download java and allow an applet to run in their browser, most will not use it.

I think the middle ground is to just use ftp. It's old but effective, works with extremely large files and multiple files.

Upvotes: 2

ceejayoz
ceejayoz

Reputation: 180004

New versions (v2.2.0+) of SWFUpload deal with the Flash 10 issue.

Upvotes: 1

Related Questions