JDBC Driver for FTP

Build 22.0.8462

RenameFile

Rename a file in the remote FTP Server.

Stored Procedure Specific Information

Process of Rename File

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 RenameFile are RemoteFile and NewFileName For example:

EXECUTE RenameFile RemoteFile = '/home/test/CDataTest/SPTest/TestFile.txt', NewFileName = 'TestFileNew.txt'

Input

Name Type Required Description
RemoteFile String True Specify the remote file path and name to be renamed.
NewFileName String True Specify the new name of the remote file.

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