Back to product page

ListItems method


Called when server returns information about file or directory.

Type

None

Syntax

  • Basic
object.ListItems Owner, FileInfo
The ListItems(object,Owner,FileInfo) syntax has these parts:
objectAn expression evaluating to an object of type IwodFtpNotify.
OwnerRequired. A wodFtpDLXCom object.
FileInfoRequired. A String value. Result of last user's request.

Remarks

This method is called only if you implemented IwodFtpNotify interface in your application, and wodFtpDLX.Notification property has received reference to instance of your implementation.

ListItems event will be fired as a result of ListDir, ListNames and GetData methods. FileInfo argument will contain:

1. For ListDir and ListNames there will be complete description of all files in requested directory, as seen on UNIX systems. Each file will be in separate line, using CRLF sequence as a separator.

2. For GetData argument will contain data that is retrieved from remote file.

Platforms

Windows