Udostępnij przez


FtpClientConnection.CreateRemoteDirectory Method

Creates a remote directory.

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

Syntax

'Deklaracja
Public Sub CreateRemoteDirectory ( _
    remoteDirectoryPath As String _
)
public void CreateRemoteDirectory (
    string remoteDirectoryPath
)
public:
void CreateRemoteDirectory (
    String^ remoteDirectoryPath
)
public void CreateRemoteDirectory (
    String remoteDirectoryPath
)
public function CreateRemoteDirectory (
    remoteDirectoryPath : String
)

Parameters

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

Example

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

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

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.