Ftp.GetCurrentDirectory Method
Namespace: Rebex.Net
Assembly: Rebex.Ftp.dll (version 7.0.9083)
GetCurrentDirectory()
Gets the absolute path of the current working directory on the remote server.
Declaration
public string GetCurrentDirectory()
Returns
Type | Description |
---|---|
String | A string containing the absolute path of the current working remote directory. |
Implements
Remarks
Represents FTP PWD command.
Some servers (e.g. TOPS-20) do not support this method. FtpException with status of FtpExceptionStatus.ProtocolError and code of 550 is thrown if this is the case.