FtpClientConnection.GetWorkingDirectory Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the current working directory on the File Transfer Protocol (FTP) server.
public:
System::String ^ GetWorkingDirectory();
public string GetWorkingDirectory ();
member this.GetWorkingDirectory : unit -> string
Public Function GetWorkingDirectory () As String
Returns
A String that contains the current working directory.
Examples
The following code example shows how to call the GetWorkingDirectory method and store it in a String
variable.
string directoryName = ftpClientConnection.GetWorkingDirectory();
Dim directoryName As String = ftpClientConnection.GetWorkingDirectory()