ODBC Driver for FTP

Build 23.0.8839


Rename a file in the remote FTP Server.

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

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


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) 2024 CData Software, Inc. - All rights reserved.
Build 23.0.8839