wodSFTP ActiveX Control - ListItems Method
      
 

Description

Called when the server returns information about a file or directory.


Return Type

None  


Syntax

object.ListItems Owner, FileInfo



The ListItems Method syntax has these parts:

Part Description
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.