ClientDirectory Property  
 

Return the current working directory for the active client session.

Syntax

object.ClientDirectory

Remarks

The ClientDirectory property returns the current working directory for the active client session. Initially this value will be the absolute path on the local system that maps to an authenticated client's home directory. The client can change its current working directory using the CWD command. The ClientHome property will return the home directory that has been assigned to the client.

It is important to note that the current working directory for client sessions is virtual, and does not reflect the current working directory for the server process. This property should only be accessed within an event handler after the client session has been authenticated. Unauthenticated clients are not assigned a current working directory. This property will always return an empty string when accessed outside of an event handler.

Data Type

String

See Also

ClientAddress Property, ClientHome Property, ClientId Property, IsAuthenticated Property,