Return the current working directory on the server.
object.GetDirectory( RemotePath )
- A string variable which will contain the current working
directory when the method returns.
A value of zero is returned if the operation was successful,
otherwise a non-zero error code is returned which indicates the cause
of the failure.
The GetDirectory method returns the current working
directory on the server. The method sends the PWD command to the