Ftp.renameFile

Rename an existing file.

The filenames must be relative to the current working directory.

class Ftp
renameFile
(
const(char)[] file
,
const(char)[] newName
)

Parameters

file
Type: const(char)[]

File to rename

newName
Type: const(char)[]

New name of the file

Return Value

Type: Response

Server response to the request.

Meta