| 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
)
Public Function SendCommandAsync (
command As String,
throwException As Boolean
) As Task(Of FtpResponse)
public:
Task<FtpResponse^>^ SendCommandAsync(
String^ command,
bool throwException
)
member SendCommandAsync :
command : string *
throwException : bool -> Task<FtpResponse>
Parameters
- command
- Type: SystemString
Command (e.g. "HELP"). - throwException
- Type: SystemBoolean
If true throws FtpException on negative response.
Return Value
Type:
TaskFtpResponseFTP server response.
See Also