ExFTPConnectionBeginInvokeFTPCommand Method |
[FTP/FTPS Only] Begins an asynchronous request to invoke the given literal FTP command on the server.
Namespace:
EnterpriseDT.Net.Ftp
Assembly:
edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 12.3.0.0
Syntaxpublic virtual IAsyncResult BeginInvokeFTPCommand(
string command,
string[] validCodes,
AsyncCallback callback,
Object state
)
Public Overridable Function BeginInvokeFTPCommand (
command As String,
validCodes As String(),
callback As AsyncCallback,
state As Object
) As IAsyncResult
public:
virtual IAsyncResult^ BeginInvokeFTPCommand(
String^ command,
array<String^>^ validCodes,
AsyncCallback^ callback,
Object^ state
)
abstract BeginInvokeFTPCommand :
command : string *
validCodes : string[] *
callback : AsyncCallback *
state : Object -> IAsyncResult
override BeginInvokeFTPCommand :
command : string *
validCodes : string[] *
callback : AsyncCallback *
state : Object -> IAsyncResult
Parameters
- command
- Type: SystemString
Command to be sent. - validCodes
- Type: SystemString
Valid return-codes (used for validating reply). - callback
- Type: SystemAsyncCallback
The AsyncCallback delegate. - state
- Type: SystemObject
An object that contains state information for this request.
Return Value
Type:
IAsyncResultAn
FTPTask that references the asynchronous get.
RemarksYou can create a callback method that implements the AsyncCallback
delegate and pass its name to the BeginInvokeFTPCommand method. The state
argument may be used to pass in data that will be passed to the callback
method.
For more information please refer to the synchronous version of this method,
InvokeFTPCommand(String, String).
See Also