I am trying to download more than 1GB file from server.
Whenever connection available the apps need to download the file. AIR should have auto pause and resume based connection.
My sample code useed for resume,
var header0:URLRequestHeader = new URLRequestHeader('range', 'bytes='+bytesLoaded+'-'+bytesTotal);var request:URLRequest = new URLRequest(Path);request.requestHeaders.push(header0);
Sample i followed
It doesn't work properly. Also in the URLRequest.requestHeaders adobe document mentioned
The FileReference.upload() and FileReference.download() methods do not support the URLRequest.requestHeaders property.
i confused, Is it possible to do in AIR? If yes, How can make it resumable downloader in Flex/AIR?
Retrieving data ...