wwSFtpClient::GetDirectory Returns the currently active server relative directory. Make sure that you are connected to the server before using this command. o.GetDirectory() Returns Server relative path with a leading /. Empty if not connected or there's an error in the connection.