Ftp.renameFile

Rename an existing file.

The filenames must be relative to the current working directory.

class Ftp
renameFile
(
string file
,
string newName
)

Parameters

file string

File to rename.

newName string

New name of the file.

Return Value

Type: Response

Server response to the request.

Meta