Begins asynchronous GetList operation.
Retrieves the list of files and directories in the specified remote directory, or a list of files matching the specified mask.
Namespace:
Rebex.Net
Assembly:
Rebex.Sftp (in Rebex.Sftp.dll)
Syntax
Visual Basic |
---|
Public Function BeginGetList ( _ path As String, _ callback As AsyncCallback, _ state As Object _ ) As IAsyncResult |
C# |
---|
public IAsyncResult BeginGetList( string path, AsyncCallback callback, Object state ) |
Parameters
- path
- Type: System..::..String
The path of the remote directory, or null for current directory. File wildcards masks (such as *.txt) are accepted as well.
- callback
- Type: System..::..AsyncCallback
An optional asynchronous callback to be called when the operation is complete.
- state
- Type: System..::..Object
A user-provided object that identifies this particular asynchronous operation.
Return Value
An IAsyncResult that references the asynchronous operation.Remarks
Argument is taken case sensitive if ServerType equals to Unix; case insensitive otherwise.
In builds for .NET 4.0 and higher, this method is available as an extension method. Add 'using Rebex.Legacy' (C#) or 'Import Rebex.Legacy' (VB.NET) to your code in order to use it.