Makes a sub-directory on the FTP server.

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

Syntax

C#
public void MakeDir(
	string remoteName
)
Visual Basic
Public Sub MakeDir ( _
	remoteName As String _
)
Visual C++
public:
void MakeDir(
	String^ remoteName
)

Parameters

remoteName
Type: System..::..String
The name of the directory to make.

Examples

This example creates a new sub directory newDir on the FTP server relative to the current remote directory.
CopyC#
myFtp.MakeDir("newDir");

Copy 
myFtp.MakeDir("newDir")

Exceptions

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

See Also