Makes a sub-directory on the FTP server.
Namespace: Jscape.FtpAssembly: 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#
Copy

myFtp.MakeDir("newDir");

myFtp.MakeDir("newDir")
Exceptions
Exception | Condition |
---|---|
Jscape.Ftp..::..FtpException | If an I/O or FTP error occurs. |