Ftp.sendCommand

Send a command to the FTP server.

While the most often used commands are provided as member functions in the Ftp class, this method can be used to send any FTP command to the server. If the command requires one or more parameters, they can be specified in parameter. If the server returns information, you can extract it from the response using getMessage().

class Ftp
sendCommand
(
const(char)[] command
,
const(char)[] parameter
)

Parameters

command
Type: const(char)[]

Command to send

parameter
Type: const(char)[]

Command parameter

Return Value

Type: Response

Server response to the request.

Meta