Gets/Sets the local directory used in an FTP session.

Namespace: Jscape.Ftp
Assembly: Jscape.Ftp (in Jscape.Ftp.dll) Version: 2.4.5.0

Syntax

C#
public string LocalDir { get; set; }
Visual Basic
Public Property LocalDir As String
	Get
	Set
Visual C++
public:
property String^ LocalDir {
	String^ get ();
	void set (String^ value);
}

Remarks

Uploads and downloads are relative to the local directory.

Examples

This example displays the current local directory.
CopyC#
System.Console.WriteLine("Local dir: " + myFtp.LocalDir);

Copy 
System.Console.WriteLine("Local dir: " + myFtp.LocalDir)

See Also