Share via


FtpClientConnection.CreateRemoteDirectory(String) Method

Definition

Creates a remote directory.

public:
 void CreateRemoteDirectory(System::String ^ remoteDirectoryPath);
public void CreateRemoteDirectory (string remoteDirectoryPath);
member this.CreateRemoteDirectory : string -> unit
Public Sub CreateRemoteDirectory (remoteDirectoryPath As String)

Parameters

remoteDirectoryPath
String

A string that contains the path where the remote directory is to be created.

Examples

The following code example shows the syntax to use when calling the CreateRemoteDirectory method.

ftpClientConnection.CreateRemoteDirectory(@"/myDir/mySubDir/");  
ftpClientConnection.CreateRemoteDirectory("/myDir/mySubDir/")  

Applies to