ph_movefile PowerHome formula function
Description
Moves the specified file.
Syntax
ph_movefile ( s, s )
Argument Description
s String representing the full path and filename of the source file.
s String representing the full path and filename of the target file.
Return value
Integer. Returns a 0 if the source file was successfully moved. Returns -1 if an error occurred opening the source file. Returns -2 if an error occurred opening the target file.
Usage
You cannot write to a target file if a file with the same name already exists in the target directory. If you want to copy over a target file, you can use ph_filecopy and set the replace argument to 1.