MoveFile Overview

The MoveFile service moves a file to another directory. MoveFile will not create the directory if it does not exist.

MoveFile use Example

Basic MoveFile Use

In this example, we move file TextAttach.txt from File folder to File_new folder.

The file is moved to the new directory.

If the target directory File_new does not exist, the service will throw the following error.

If a file with the same name already exists in the target directory, the service will return the following message.