Sets the current working directory on the FTP server to the parent directory.

Namespace: Jscape.Ftp
Assembly: Jscape.Ftp (in Jscape.Ftp.dll) Version: 2.4.5.0

Syntax

C#
public void DirUp()
Visual Basic
Public Sub DirUp
Visual C++
public:
void DirUp()

Examples

This example changes the current remote directory on the FTP server to the parent directory relative to the current remote directory.
CopyC#
myFtp.DirUp();

Copy 
myFtp.DirUp()

Exceptions

ExceptionCondition
Jscape.Ftp..::..FtpExceptionIf an I/O or FTP error occurs.

See Also