FtpClient.ConnectTo Method

Mentalis.org Proxy

Mentalis.org Proxy Documentation

FtpClient.ConnectTo Method 

Connects to the specified endpoint.

[Visual Basic]Private Sub ConnectTo( _
   ByVal RemoteServer As System.Net.IPEndPoint _
)
[C#]
private void ConnectTo(
   IPEndPoint RemoteServer
);

Parameters

RemoteServer
The IPEndPoint to connect to.

Exceptions

Exception Type Condition
System.Net.Sockets.SocketException There was an error connecting to the specified endpoint

See Also

FtpClient Class | FtpClient Members | Org.Mentalis.Proxy.Ftp Namespace