Dreamweaver 3.
This function copies the specified file to a new location.
originalURL,copyURL
originalURL argument, which is expressed as a file:// URL, is the file you want to copy.
copyURL argument, which is expressed as a file:// URL, is the location where you want to save the copied file.
A Boolean value: true if the copy succeeds; false otherwise.
The following code copies a file called myconfig.cfg to myconfig_backup.cfg:
var fileURL = "file:///c|/Config/myconfig.cfg"; var newURL ="file:///c|/Config/myconfig_backup.cfg"; DWfile.copy(fileURL, newURL);
RSS feed | Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/dreamweaver/8/apiref/02_file4.htm
Comments
No screen name said on Feb 3, 2007 at 9:24 AM :