Retrieves the list of files and directories.

Namespace:  Rebex.Net
Assembly:  Rebex.FileTransfer (in Rebex.FileTransfer.dll)

Syntax

Visual Basic
Public Function GetItems ( _
	remotePath As String, _
	traversalMode As TraversalMode _
) As FileSystemItemCollection
C#
public FileSystemItemCollection GetItems(
	string remotePath,
	TraversalMode traversalMode
)

Parameters

remotePath
Type: System..::..String
The path (with or without a mask) to a remote file or directory.
traversalMode
Type: Rebex.IO..::..TraversalMode
Specifies how to traverse hierarchy of directories.

Return Value

Collection of FileSystemItem values.

Implements

IFtp..::..GetItems(String, TraversalMode)

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also