Global.helma.File.move (dest)
function moves a file to a new destination directory

  • Parameter String:
    full path of the new file
  • Returns
    Boolean true in case file could be moved, false otherwise
Sourcecode in /home/hannes/helma/modules/helma/File.js:
442:   this.move = function(dest) {
443:         // instead of using the standard File method renameTo()
444:         // do a hardCopy and then remove the source file. This way
445:         // file locking shouldn't be an issue
446:         self.hardCopy(dest);
447:         // remove the source file
448:         file["delete"]();
449:         return true;
450:      }