MoveFile
Transfers a file from one directory to another on the FTP server. This is useful for organizing files into appropriate folders or for archiving after processing.
Moving Files
FTP allows only a small subset of columns to be used in the EXEC query. These columns can typically be used with only = comparison. The available columns for MoveFile are RemoteFile and DestinationPath.
For example:
EXECUTE MoveFile RemoteFile = '/home/test/CDataTest/SPTest/TestFile.txt', DestinationPath = '/home/test/CDataTest/SPTest2'
Input
| Name | Type | Required | Description |
| RemoteFile | String | True | The full path of the existing file on the FTP server that will be moved. |
| DestinationPath | String | True | The target path on the FTP server where the file should be relocated. |
Result Set Columns
| Name | Type | Description |
| Success | String | Indicates whether the file move operation was successful (true) or unsuccessful (false). |