[Jslib] Directory Copy
pete at mozdevgroup.com
Wed May 2 11:38:18 PDT 2007
Gereon Sommer wrote:
>is it possible to copy whole directories with their complete content
>with jsLib? I found in the documentation only methods to move or remove
>directories but not to copy.
Yea, I need to add that, can't believe I missed it ...
You can do this:
var f = new File("/tmp/somedir");
var dest = new File("/tmp/somedest");
Pete Collins - Founder, Mozdev Group Inc.
Mozilla Software Development Solutions
More information about the Jslib