wodSFTP ActiveX Control - ListItems Event
    
 

Description

Fires when server returns information about a file or directory.


Syntax

Private Sub object_ListItems(FileInfo)



The ListItems Event syntax has these parts:

Part Description
object A wodSFTP object.
FileInfo A String value. Holds the server's results for your request.

Remarks

The ListItems event will be fired 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 event to fire more than once before the Done event signals method completion. This will happen if a remote directory contains many files.