movefile
[movefile] moves the file to a new location, and then deletes the original once the file is safely written to disk in the new loaction. If a file by the same name already exists, [movefile] will overwrite it. You may specify a different folder for the file to be moved to.
[movefile from=folder_one/file_one.txt&to=folder_two/file_two.txt]
Parameters
Parameter | Description |
---|---|
from | The path to where the file is, including the file's name |
to | The path to where the file is to be copied to, including the file's existing or new name |
[movefile] can be used to move any type of file.
See also:[appendfile], [copyfile], [writefile], [deletefile].