Rename File

Renames file in the server

This activity renames a file that resides in the FTP server.

FTP Connection

  • FTP Session Id:IFtpSession Variable Specifies the variable containing the previously opened FTP Connection you wish to close. You must have previously specified this variable in an Open FTP Connection action.\

Input

  • File To Rename: String Argument Specifies the name or path of the file that is to be renamed.\

  • New Filename: String Argument Specifies a new name for the file, or a variable containing the new name of the file. If you enter a name with a path, the file will also be moved to that location. If the location doesn't exist, it will throw an exception

Options

  • Overwrite:Boolean Variable

    • True - Overwrites a file in the server with the same name you have provided.

    • False(default) - Creates a new file is created instead of overwriting if a file with the same name exists.\

Last updated