Power BI Connector for FTP

Build 25.0.9454

RenameFile

Renames a file on the FTP server without altering its location. This helps standardize naming conventions and resolve conflicts.

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'

Input

Name Type Required Description
RemoteFile String True The full path and current name of the file on the FTP server that will be renamed.
NewFileName String True The new name to assign to the file while keeping it in the same directory.

Result Set Columns

Name Type Description
Success String Indicates whether the rename operation was successful (true) or unsuccessful (false).

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 25.0.9454