Returns the remote directory entries enumerator.

Namespace: Jscape.Sftp
Assembly: Jscape.Ssh (in Jscape.Ssh.dll) Version: 2.7.2.0

Syntax

C#
public IEnumerator GetDirListing(
	string filter,
	RegexOptions options
)
Visual Basic
Public Function GetDirListing ( _
	filter As String, _
	options As RegexOptions _
) As IEnumerator
Visual C++
public:
IEnumerator^ GetDirListing(
	String^ filter, 
	RegexOptions options
)

Parameters

filter
Type: System..::..String
the file wildcard filter
options
Type: System.Text.RegularExpressions..::..RegexOptions
the values to use to set regular expression options.

Return Value

an IEnumerator of Jscape.Sftp.Packets.FileInfo

Exceptions

ExceptionCondition
Jscape.Sftp..::..SftpExceptionif an error occurs

See Also