JDBC Driver for SFTP

Build 22.0.8462

MoveFile

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

Stored Procedure Specific Information

Process of Move File

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.

Copyright (c) 2023 CData Software, Inc. - All rights reserved.
Build 22.0.8462