FtpClientConnection.CreateRemoteDirectory(String) 方法

定义

创建远程目录。

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

参数

remoteDirectoryPath
String

一个字符串,该字符串包含在其中创建远程目录的路径。

示例

下面的代码示例演示调用 CreateRemoteDirectory 该方法时要使用的语法。

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

适用于