Ftp.download

Download a file from the server.

The filename of the distant file is relative to the current working directory of the server, and the local destination path is relative to the current directory of your application.

class Ftp
download
(
const(char)[] remoteFile
,
const(char)[] localPath
,
)

Parameters

remoteFile
Type: const(char)[]

Filename of the distant file to download

localPath
Type: const(char)[]

Where to put to file on the local computer

mode

Transfer mode

Return Value

Type: Response

Server response to the request.

Meta