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

Thread: Where to get the latest Ubuntu 10.10 .iso file

After Effect warning: A problem occurred when processing OpenGL commands

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