Cmdlets for FTP

Build 24.0.8963

MoveFile

Moves a file from one folder to other folder in the remote FTP Server.

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 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.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.8963