File System Access for a Better Upload Experience

I’ve been messing around with uploading video this week and it’s kind of a pain. For one thing, the file sizes seem huge, on the order of 50-150 megs. I’ve got decently fast broadband, but uploading still takes a bit of time (20-40 minutes) and I do a lot of things in my browser because I’m a hard-core multitasker. So I’m dealing with big file sizes and trying to upload them inside a browser window. It’s been a bad combination. My file will stop transferring, the browser has crashed a couple of times. It’s just a bad experience.

AIR is a great solution here. This isn’t just taking a web application offline, it’s helping the user. Having direct access to the filesystem makes the upload experience much, much better. For one thing, you aren’t dependent on the browser. Why wait 40 minutes to upload your file when you could be browsing around being (un)productive? Download crashes? Why not have an application that knows exactly how many bytes were uploaded so it can pick up where it left off? With AIR you can do all of this using web technologies so you don’t have to have any knowledge for building desktop applications. You can pretty quickly create an AIR app that ties back to your server, with code you’ve already written, tools you’re already using, and assets you’ve already got. Plus, it’s all cross platform.

As more and more people start doing higher and higher quality video, we need to get a better upload experience.

[tags]Video, Adobe AIR, Rich Internet Applications[/tags]

  • Bobby

    Ryan, can you point me in the direction of building a download/upload manager of sorts in AIR?

  • http://blog.digitalbackcountry.com Ryan Stewart

    Hey Bobby, that’s a good call. I should work on that.

  • http://dreamdrummer.com/ Erki Esken

    I have to say I haven’t had too nice experience with AIR regarding file uploads. AIR (and Flash Player) support for authenticated https sites sucks. All our internal web systems are protected by Radius authentication (Apache and mod_radius with basic auth over https) and that combination just does not work with AIR.

  • http://www.richapps.de Benjamin Dobler

    Hey Ryan,
    I just published my first take on this on my blog: http://www.richapps.de/?p=142. I`m using sockets and a custom mini protocol. It`s just a prove of concept but with some time this could really be great stuff.
    Benz

  • Krzysiek

    yah, but currently uploading over socket really suks as far as I can see. You cannot determine current progress:

    http://www.onflex.org/ted/2007/05/flexftp-ftp-client-in-flex-using.php
    :(

  • David V

    Umm, yeah. If you would like file system access for real- use Mono.

    AIR really has limitations with larger files, chunking and secure connections. It’s a neat toy.

  • http://www.richapps.de Benjamin Dobler

    But with my example I`m able to get the progress. Have a look the source is available.