Ftp.ChangeDirectory Method
Namespace: Rebex.Net
Assembly: Rebex.Ftp.dll (version 7.0.9083)
ChangeDirectory(String)
Changes the current working directory on the server.
Declaration
public void ChangeDirectory(string remotePath)
Parameters
Type | Name | Description |
---|---|---|
String | remotePath | Pathname of the directory to change to. |
Implements
Remarks
Implemented using FTP CWD command for pathnames not equal to ".." and CDUP command for ".." pathnames. "." pathnames are ignored.
Caution: some uncommon servers do not use a slash as a directory separator. Do not use slashes in the path to remain compatible with such servers.