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. This parameter must be passed by
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 sends the PWD command to the server
to get the current working directory.