Hi,
I am able to download a file from anyplace to my system(usgin URLStream). But i want to download a folder and its content to local path on Air scripting. Is it possible to do this.
Example:
In my server i have a folder called "Samp" in side that i have 1.exe,2.swf,3.swf,4.air.
I am able to download them one by one and stored in the local machine.Insted of downloading one by one can i able to download the Entire "Samp" folder to my local machine?.
Note:
I used this for updating the .swf files on each client.The download will be happen automatic .So in this case there is no user interaction for save the file.
.
Thanks,
Siva
Your best option is to communicate with the server you're downloading from, asking it to create a single compressed (.zip) file. Download that single file containing the whole folder, uncompress and overwrite as needed. There is no such thing as downloading a "folder" without typical traversal techniques.