Catalyst File Transfer .NET

FileTransfer.GetDirectory Method 

Return the current working directory.

[Visual Basic]
Public Function GetDirectory( _
   ByRef pathName As String _
) As Boolean
[C#]
public bool GetDirectory(
   ref string pathName
);

Parameters

pathName
A string passed by reference which will contain the current working directory on the server when the method returns.

Return Value

This method returns a boolean value. If the method succeeds, the return value is true. If the method fails, the return value is false. To get extended error information, check the value of the LastError property.

See Also

FileTransfer Class | SocketTools Namespace