Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

Ftp.ChangeDirectory Method

Namespace: Rebex.Net
Assembly: Rebex.Ftp.dll (version 7.0.9147)

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
IFtp.ChangeDirectory(String)
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.

In This Article
  • ChangeDirectory(String)
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies