private function downloadFile(url:String):void { var downloadURL:URLRequest = new URLRequest(); downloadURL.url = url; file = new FileReference(); configureListeners(file); //change the name of the zipfile below file.download(downloadURL, "moBetterZipFileName.zip"); }
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.