Top
Top
LibraryEASYProcess Reference Manual 5ProcessesServicesFileSystemWorkshopMoveFile

MoveFile Overview

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


MoveFile Use Examples
Workshop:FileSystemWorkshop
Service:MoveFile
Inputs
FromFileThe full path of the file. You can also give a network path or a mapped folder path.

ToFileThe full path of the new location. This should not be an existing file.

Outputs
MovedReturns True/False depending on whether the file was moved successfully

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.


Powered by EASYProcess (© 2019 K-Rise Systems, Inc).