Hi All

I'm very new to Adobe AIR,in My sample application i'm trying to copy
one image in website to local file system,i got "File or directory does
not exist" error

  i have tried the below lines of code

var vfile:File=new
File("http://tinycomb.com/wp-content/uploads/2008/12/adobe-logo.jpg";);
var dfile:File=File.applicationStorageDirectory.resolvePath("tempdata/"
+ video_url);
vfile.copyTo(dfile, true);


here i'm copying to ApplicationstorageDirestory,this would be any local
direstory

But i'm gtting "File or directory does not exist" error fot the above
code.

Can any one tell me whats wrong with the above code

Thanks in Advance

Gnanz...
http://gnanz-flexworld.blogspot.com


Reply via email to