Back to product page

AttributesData event


Fires when wodSFTP retrieves directory attributes.

Syntax

  • Basic
Private Sub object_AttributesData(Items)
The AttributesData(object,Items) syntax has these parts:
objectA wodSFTP object.
ItemsA SftpItems object. Reference to collection of directory items.

Remarks

The AttributesData event will be fired as a result of the ListAttributes method. Its purpose is to provide information about a directory structure that can easily be parsed by your application. Instead of using ListDir, which returns line-by-line directory contents that depend on the server, you can use the ListAttributes method to retrieve a collection of objects - each of them containing one directory item.

This event can fire more than once when a directory contains many items. When a complete directory listing is finished, the Done event will fire.

Code sample

  • Basic

Platforms

Windows