ftp rename

Applies to: Windows Server 2022, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012

Renames remote files.

Syntax

rename <filename> <newfilename>

Parameters

Parameter Description
<filename> Specifies the file that you want to rename.
<newfilename> Specifies the new file name.

Examples

To rename the remote file example.txt to example1.txt, type:

rename example.txt example1.txt