An NDoc Documented Class Library |

# FTPConnection.OnChangingServerDirectory Method

Called when the server directory is about to be changed.

protected virtual bool OnChangingServerDirectory(
string oldDirectory,
string newDirectory
);

#### Parameters

oldDirectory
  Current directory.
newDirectory
  New directory

#### Return Value

`true` if the operation is to continue.

#### See Also

FTPConnection Class | EnterpriseDT.Net.Ftp Namespace