Click or drag to resize

FtpSendCommandAsync Method (String, Boolean)

Executes command on the FTP server.

Namespace:  Limilabs.FTP.Client
Assembly:  Ftp (in Ftp.dll) Version: 2.0.22214.1022
Syntax
public Task<FtpResponse> SendCommandAsync(
	string command,
	bool throwException
)

Parameters

command
Type: SystemString
Command (e.g. "HELP").
throwException
Type: SystemBoolean
If true throws FtpException on negative response.

Return Value

Type: TaskFtpResponse
FTP server response.
See Also