IFtp.GetItems Method
Namespace: Rebex.Net
Assembly: Rebex.Networking.dll (version 7.0.9313)
GetItems(String)
Retrieves the list of files and directories. Matching directories are searched recursively.
Declaration
FileSystemItemCollection GetItems(string remotePath)
Parameters
| Type | Name | Description |
|---|---|---|
| String | remotePath | The path (with or without a mask) to a remote file or directory. |
Returns
| Type | Description |
|---|---|
| FileSystemItemCollection | Collection of FileSystemItem values. |
GetItems(String, TraversalMode)
Retrieves the list of files and directories.
Declaration
FileSystemItemCollection GetItems(string remotePath, TraversalMode traversalMode)
Parameters
| Type | Name | Description |
|---|---|---|
| String | remotePath | The path (with or without a mask) to a remote file or directory. |
| TraversalMode | traversalMode | Specifies how to traverse hierarchy of directories. |
Returns
| Type | Description |
|---|---|
| FileSystemItemCollection | Collection of FileSystemItem values. |
GetItems(FileSet)
Retrieves the list of files and directories specified by the set.
Declaration
FileSystemItemCollection GetItems(FileSet set)
Parameters
| Type | Name | Description |
|---|---|---|
| FileSet | set | A filtering set which specifies remote files and directories to be retrieved. |
Returns
| Type | Description |
|---|---|
| FileSystemItemCollection | Collection of FileSystemItem values. |