SFtpDir VB.NET Reference Documentation
Represents a remote SFTP directory listing.
Dim obj As New Chilkat.SFtpDir()
NumFilesAndDirs As Integer (ReadOnly)
The number of entries in this directory listing.
OriginalPath As String (ReadOnly)
The original path used to fetch this directory listing. This is the string that was originally passed to the OpenDir method when the directory was read.
Function GetFileObject(ByVal index As Integer) As SFtpFile
Returns the Nth entry in the directory. Indexing begins at 0.
Function GetFilename(ByVal index As Integer) As String
Returns the Nth filename in the directory (indexing begins at 0).
Returns Nothing on failure
Function LoadTaskResult(ByVal task As Task) As Boolean
Introduced in version 22.214.171.124
Loads the SFTP directory object from a completed asynchronous task.
Returns True for success, False for failure.