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 const(char)[]

File to rename

newName const(char)[]

New name of the file

Return Value

Type: Response

Server response to the request.

Meta