FtpClientConnection.SetWorkingDirectory Method

Sets the current working directory on the File Transfer Protocol (FTP) server.

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

Syntax

'Declaration
Public Sub SetWorkingDirectory ( _
    currentDirectory As String _
)
'Usage
Dim instance As FtpClientConnection
Dim currentDirectory As String

instance.SetWorkingDirectory(currentDirectory)
public void SetWorkingDirectory(
    string currentDirectory
)
public:
void SetWorkingDirectory(
    String^ currentDirectory
)
member SetWorkingDirectory : 
        currentDirectory:string -> unit 
public function SetWorkingDirectory(
    currentDirectory : String
)

Parameters

  • currentDirectory
    Type: System.String
    The path to the directory to be set as the current working directory.