Back to product page
- Introduction
- License agreement
- Classes
- Enumerations
- Exceptions
- WeOnlyDo.Client.FtpDLX
- Properties
- Authentication
- Blocking
- BufferSize
- Certificate
- Compression
- DirFormat
- DirItems
- Encryption
- Hostname
- KeepAlive
- LastError
- ListItem
- ListParams
- LocalPath
- Login
- MaxTransferRate
- Passive
- Password
- Port
- PreserveDates
- PrivateKey
- Protocol
- ProxyHostname
- ProxyLogin
- ProxyPassword
- ProxyPort
- ProxyType
- PublicKeyOpenSSH
- PublicKeySSH
- RemotePath
- Resume
- SecureMethod
- SmartGet
- SmartPut
- State
- StrictHost
- Tag
- Timeout
- Timezone
- TransferMode
- TransferRate
- TransferTime
- UseIPv6
- Version
- Methods
- Events
- Properties
- WeOnlyDo.Client.DirItemsCollection
- WeOnlyDo.Client.DirItem
- How to get support?
DirItems property
Returns collection of directory items.
Type
DirItemsCollection objectSyntax
- C#
- VB.NET
DirItemsCollection DirItems {get; };
ReadOnly Property DirItems As DirItemsCollection
Remarks
This 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.