12/1/2010 3:10:07 AM
Title:
FLEX - AIR: Download file from server
Hi, I want to download file(any format) from server.
I used this:
var fr:FileReference = new FileReference();
request = new URLRequest(serverUrl+fileName);
fr.download(request);
But it shows me popup to save the file, but i dont need any popup and download the file at one specific location.
Thanks
12/2/2010 2:57:21 AM
directly saving file from location to any client is not possible in flash, you can try this in case you want to save a file stream to users computer without showing the dialog this also works in AIR only
http://askmeflash.com/tutorial/6/save-file-in-adobe-air-without-dialog-window