Ftp: rename

Applies To: Windows Vista, Windows Server 2008, Windows 7, Windows Server 2008 R2, Windows Server 2012, Windows 8

Renames remote files. For examples of how this command can be used, see Examples.

Syntax

rename <FileName> <NewFileName>

Parameters

Parameter

Description

<FileName>

Specifies the file that you want to rename.

<NewFileName>

Specifies the new file name.

Examples

Rename the remote file example.txt to example1.txt

Rename example.txt example1.txt

Additional references