GetWorkingDirectory Method

FtpClientConnection.GetWorkingDirectory Method ()


Gets 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)

public string GetWorkingDirectory()

Return Value

Type: System.String

A String that contains the current working directory.

The following code example shows how to call the GetWorkingDirectory method and store it in a String variable.

string directoryName = ftpClientConnection.GetWorkingDirectory(); 
Return to top
© 2016 Microsoft