| FtpSendCommandAsync Method (String, Boolean, Object) |
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,
params Object[] args
)
Public Function SendCommandAsync (
command As String,
throwException As Boolean,
ParamArray args As Object()
) As Task(Of FtpResponse)
public:
Task<FtpResponse^>^ SendCommandAsync(
String^ command,
bool throwException,
... array<Object^>^ args
)
member SendCommandAsync :
command : string *
throwException : bool *
args : Object[] -> Task<FtpResponse>
Parameters
- command
- Type: SystemString
Command (e.g. "HELP {0}"). - throwException
- Type: SystemBoolean
If true throws FtpException on negative response. - args
- Type: SystemObject
Command arguments.
Return Value
Type:
TaskFtpResponseFTP server response.
See Also