Connect() Method

See Also

FtpDLX Class  | FtpDLX Members  | Overload List

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Language

Visual Basic

C#

JScript

Show All

See Also Requirements Languages WeOnlyDo.Client.FTP Send comments on this topic.

Connect() Method

Connects to remote server.

[Visual Basic]
Overloads Public Sub Connect()
[C#]
public void Connect();
[JScript]
public function Connect();

Remarks

Connect method will initiate connection between wodFtpDLX.NET and the remote server. It can be used only if wodFtpDLX.NET is not connected with server at the same moment (in other words, if State is set to Disconnected.

If an error occurs during connection, Connected event will be fired with Args.Error argument containing the error. If Args.Error is set to null (Nothing in VB), wodFtpDLX.NET successfully connected with remote server.

Upon connection, wodFtpDLX.NET may perform initial 'handshake' with remote server, depending on protocol selected. For example, SFTP and FTPS protocols will negotiate encryption algorithms and other properties related to secured connection. After handshake is completed, wodFtpDLX.NET will perform automatic authentication with server.

If authentication is successful, wodFtpDLX.NET will try to retrieve home path of the user, and store it initially to RemotePath property.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

FtpDLX Class  | FtpDLX Members  | Overload List

 

 


© WeOnlyDo Software. All Rights Reserved.