MoveFile
Moves a file from one folder to other folder in the remote SFTP Server.
Moving Files
SFTP 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 path of the remote file to be moved. |
DestinationPath | String | True | The new path you want to move the file to. |
Result Set Columns
Name | Type | Description |
Success | String | This parameter sets whether the operation was successful or not. |