Share via


FtpClientConnection.SetWorkingDirectory(String) Method

Definition

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

public:
 void SetWorkingDirectory(System::String ^ currentDirectory);
public void SetWorkingDirectory (string currentDirectory);
member this.SetWorkingDirectory : string -> unit
Public Sub SetWorkingDirectory (currentDirectory As String)

Parameters

currentDirectory
String

The path to the directory to be set as the current working directory.

Applies to