Creates a new SFTP client instance with defaut SSH port(22) and current application directory.

Namespace: Jscape.Sftp
Assembly: Jscape.Ssh (in Jscape.Ssh.dll) Version: 2.7.2.0

Syntax

C#
public Sftp(
	string hostname,
	string username,
	string password
)
Visual Basic
Public Sub New ( _
	hostname As String, _
	username As String, _
	password As String _
)
Visual C++
public:
Sftp(
	String^ hostname, 
	String^ username, 
	String^ password
)

Parameters

hostname
Type: System..::..String
the server hostname
username
Type: System..::..String
the user name
password
Type: System..::..String
the user password

See Also