Download file from website and save to disk


i'm trying downlaod images website , save them local drive, , can't seem work.  have isn't working:

 

var urlfile:file = new file(_dataxml.thumbnail.tostring()); // full http:// url file on server

var localfile:file = new file(gfolder + "\\" + _dataxml.file.tostring()); // user's folder , file name save to

urlfile.copyto(localfile, true);

 

is there way don't know about?  says can't find source file (the urlfile)



More discussions in Using Flash Builder


adobe

Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

PProHeadless.exe has stopped working error when opening projects in Adobe Media Encoder CS6

Preconditions Failed. - Joomla! Forum - community, help and support