大きなファイルのダウンロード

最近フォーラムで出ていたので備忘録。


大きなファイルをダウンロードするときに、URLStream使ってダウンロードする方法です。


ソース付きサンプルもあるのでお試しください。


また、resumeを実現する方法として、HTTPヘッダでRangeを指定している模様。


Resumable File Downloader – Simple AIR app
http://mariusht.com/blog/2010/03/10/resumable-file-downloader-simple-air-app/


pause / resume download with URLStream?
http://stackoverflow.com/questions/1053641/pause-resume-download-with-urlstream


How to Resume Download or Accessing Serial Port in AIR Applications VIA SOCKET
http://www.donotyet.com/2009/08/23/how-to-resume-download-or-accessing-serial-port-in-air-applications-via-socket/


Resume download in AIR via SOCKET
http://cookbooks.adobe.com/post_Resume_download_in_AIR_via_SOCKET-14187.html


Best way to download large files direct to disk?
http://forums.adobe.com/thread/230971?decorator=print&displayFullThread=true


HTTP Header Fields
http://www.studyinghttp.net/header#Range