Partilhar 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 _
)
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 2005.

Target Platforms

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

See Also

Reference

FtpClientConnection Class
FtpClientConnection Members
Microsoft.SqlServer.Dts.Runtime Namespace