Share via


FtpClientConnection.CreateRemoteDirectory Method

Creates a remote directory.

Namespace:  Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)

Syntax

'Declaration
Public Sub CreateRemoteDirectory ( _
    remoteDirectoryPath As String _
)
'Usage
Dim instance As FtpClientConnection
Dim remoteDirectoryPath As String

instance.CreateRemoteDirectory(remoteDirectoryPath)
public void CreateRemoteDirectory(
    string remoteDirectoryPath
)
public:
void CreateRemoteDirectory(
    String^ remoteDirectoryPath
)
member CreateRemoteDirectory : 
        remoteDirectoryPath:string -> unit 
public function CreateRemoteDirectory(
    remoteDirectoryPath : String
)

Parameters

  • remoteDirectoryPath
    Type: System.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/")