Connect to the FTP server and (if AutoLogin is set) log into the server.
Namespace: EnterpriseDT.Net.FtpAssembly: edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 9.4.0.40
Syntax
C# |
---|
public virtual void Connect() |
Visual Basic |
---|
Public Overridable Sub Connect |
Visual 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.