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 AttributesData notification method will be called as a result of the
ListAttributes
method. Its purpose is to provide information about
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.
You can easily get information about specific item. For example,
if it is a directory:
For Each item In Items
a = item.Name
' is it a directory? let's add /
at the end of it
If item.Permissions And 16384 Then a = a & "/"
...
Next
This notification may be called more than once when the directory
contains many items. When the complete directory listing is finished, the