Creates a new Ftp instance with the specified connection properties.

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

Syntax

C#
public Ftp(
	string host,
	string user,
	string pwd,
	int port
)
Visual Basic
Public Sub New ( _
	host As String, _
	user As String, _
	pwd As String, _
	port As Integer _
)
Visual C++
public:
Ftp(
	String^ host, 
	String^ user, 
	String^ pwd, 
	int port
)

Parameters

host
Type: System..::..String
The hostname of the FTP server.
user
Type: System..::..String
The username of the FTP user.
pwd
Type: System..::..String
The password of the FTP user.
port
Type: System..::..Int32
The port of the FTP server.

See Also