wodFTPServer ActiveX Control - Item Property
      
 

Description

References specific user currently connected to FTP server.


Property type

A FtpUser object.  Reference to requested user in the collection.


Syntax

object.Item(Index)



The Item Property syntax has these parts:

Part Description
object An expression evaluating to an object of type FtpUsers.
Index Required. An Integer value.

Sequence number of the user in the collection.


Remarks

Item property will return reference to the user in the collection of all connected users. You must specify user's Index, which should be between 0 and Count property. Once you get user's reference, you can access his properties through FTPUser object.

Please note that user's Index changes often while he's connected. Since Index is relative and always starts from 0, when new clients connect and disconnect, user's Index may change and you should never 'hardcode' this number in your code. Index is valid only inside the function you try to request it. If you prefer to reference user's by unique number - try using UIDs property.