edtFTPnet/PRO - Secure FTP component for .NET | Free Trial | Pricing

FTPConnectionConnect Method

Connect to the FTP server and (if AutoLogin is set) log into the server.

Definition

Namespace: EnterpriseDT.Net.Ftp
Assembly: edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 12.7.0.0
C#
public virtual void Connect()

Remarks

The ServerAddress property must be set prior to calling this method.

If AutoLogin is true then the component will attempt to log in immediately after successfully connecting.

This method will throw an FTPException if the component is already connected to the server.

See Also