Back to product page
- Introduction
- Overview
- License agreement
- Getting Started
- Objects
- Enumerations
- wodSFTP
- Methods
- Abort
- About
- AppendData
- AppendFile
- Connect
- DeleteFile
- DeleteFiles
- Disconnect
- ExtendedCmd
- GetAttributes
- GetData
- GetDataAt
- GetFile
- GetFileAt
- GetFiles
- ListAttributes
- ListDir
- ListNames
- LoopFiles
- MakeDir
- PutData
- PutDataAt
- PutFile
- PutFileAt
- PutFiles
- RealPath
- RemoteClose
- RemoteOpen
- RemoteRead
- RemoteWrite
- RemoveDir
- Rename
- SetAttributes
- SetAttributes64
- Properties
- Authentication
- Blocking
- BufferSize
- ClientName
- Compression
- Encryption
- EncryptionList
- ErrorText
- Extensions
- FingerPrint
- FIPS
- HMacList
- Hostname
- KeepAlives
- KeyExchangeList
- KeySignatureList
- LastError
- ListItem
- LocalPath
- Login
- MaxTransferRate
- MyHostname
- MyIP
- Notification
- Password
- Port
- PrivateKey
- ProxyHostname
- ProxyLogin
- ProxyPassword
- ProxyPort
- ProxyType
- RemoteIdentification
- RemotePath
- Resume
- ServerErrorCode
- ServerErrorText
- State
- StateText
- Timeout
- Timezone
- TransferMode
- TransferRate
- TransferTime
- UseIPv6
- Version
- Events
- Methods
- IwodSFTPNotify
- SftpItem
- SftpItems
- How to get support?
- Technical information
- Fast notifications interface
- Error list
ListItems method
Called when the server returns information about a file or directory.
Type
NoneSyntax
- Basic
object.ListItems Owner, FileInfo
The ListItems(object,Owner,FileInfo) syntax has these parts:
The ListItems(object,Owner,FileInfo) syntax has these parts:
object | An expression evaluating to an object of type IwodSFTPNotify. |
Owner | A wodSFTPCom object. |
FileInfo | A String value. Holds the server's results for your request. |
Remarks
This method is only called if you implemented the IwodSFTPNotify interface in your application and the wodSFTP.Notification property has received a reference to an instance of your implementation.The ListItems notification method will be called as a result of the ListDir, ListNames, RealPath, and GetAttributes methods. The FileInfo argument will contain:
1. For ListDir and ListNames there will be a complete description of all files in the requested directory, as seen on UNIX systems. Each file will be on a separate line, using CRLF sequence as a separator
2. For RealPath the argument will contain the full path to a file/directory pointed to by the requested symbolic link.
3. For GetAttributes the argument will contain a text description of the requested file/directory attributes.
Calling ListDir and ListNames can cause this notification method to be called more than once before the Done notification signals method completion. This will happen if the remote directory contains many files.