Retrieves the list of files and directories. Matching directories are searched recursively.

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

Syntax

Visual Basic
Public Function GetItems ( _
	remotePath As String _
) As SftpItemCollection
C#
public SftpItemCollection GetItems(
	string remotePath
)

Parameters

remotePath
Type: System..::..String
The path (with or without a mask) to a remote file or directory.

Return Value

Collection of SftpItem values.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also