Returns collection of directory items.
[Visual Basic]
Public ReadOnly Property DirItems As DirItemsCollection[C#]
public DirItemsCollection DirItems {get;}[JScript]
public function get DirItems : DirItemsCollectionThis property will return reference to collection of parsed directory items, giving you direct access to item names, sizes, permissions... By default, wodFtpDLX.NET will not try to interpret or parse received directory information - it will provide it as is. But, if you dislike parsing it yourself, you can access it using this property. First time you access it (for the same directory), wodFtpDLX.NET will internally parse it to collection of DirItem objects - one for each item in the directory list.
In order to access this property and return list of the directory, you must call
ListDir method first - so wodFtpDLX.NET can retrieve directory listing from the server. Once ListDir is called, and Done is fired - you can access this property.
Different server types may provide different types of directory listings, therefore wodFtpDLX.NET may fail in parsing them. For this purpose, please make sure you set DirFormat property to proper server type.
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
© WeOnlyDo Software. All Rights Reserved.