Hi All,
Is there a way to recursively copy folders/directories with sub-directories and files in Actionscript / AIR ??
Thanks All.
Hi All,
Is there a way to recursively copy folders/directories with sub-directories and files in Actionscript / AIR ??
Thanks All.
I found one solution here CookBook from Adobe
Just in case if anyone wants it..      
private function copyInto(directoryToCopy:File, locationCopyingTo:File):void
    {
      var directory:Array = directoryToCopy.getDirectoryListing();
      for each (var f:File in directory)
      {
        if (f.isDirectory)
          copyInto(f, locationCopyingTo.resolvePath(f.name));
        else
          f.copyTo(locationCopyingTo.resolvePath(f.name), true);
      }
    }
Feel free to post different answer/s.
Thx