SFtpDir Excel Class Module Reference Documentation


Represents a remote SFTP directory listing.

Object Creation

Dim oSFtpDir As Chilkat.SFtpDir
Set oSFtpDir = Chilkat.NewSFtpDir


NumFilesAndDirs As Long (read only)

The number of entries in this directory listing.

OriginalPath As String (read only)

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.


GetFilename(index As Long) As String

Returns the Nth filename in the directory (indexing begins at 0).

Returns Nothing on failure

GetFileObject(index As Long) As SFtpFile

Returns the Nth entry in the directory. Indexing begins at 0.

Returns Nothing on failure