FtpDLX.ConnectedDelegate Delegate

See Also

WeOnlyDo.Client Namespace

Requirements

Namespace: WeOnlyDo.Client

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

Assembly: WeOnlyDo.Client.FTP (in WeOnlyDo.Client.FTP.dll)

Language

Visual Basic

C#

JScript

Show All

Sender
The source of the event.
Args
Holds arguments for the event.
See Also Requirements Languages WeOnlyDo.Client.FTP Send comments on this topic.

FtpDLX.ConnectedDelegate Delegate

Fires when wodFtpDLX.NET connects to remote server.

[Visual Basic]
Public Delegate Sub FtpDLX.ConnectedDelegate( _    ByVal Sender As Object, _    ByVal Args As FtpConnectedArgs _ )
[C#]
public delegate void FtpDLX.ConnectedDelegate(    object Sender,    FtpConnectedArgs Args );
[JScript]
public delegate FtpDLX.ConnectedDelegate(    Sender : Object,    Args : FtpConnectedArgs )

Parameters

Sender
The source of the event.
Args
Holds arguments for the event.

Remarks

Connected event will be fired always after Connect method is issued. If wodFtpDLX.NET successfully connected to server, Args.Error will be set to null (Nothing in VB), and you can start sending/receiving data from server. If Args.Error is different than null, then wodFtpDLX.NET will immidiatelly close the connection.

It is possible that wodFtpDLX.NET will internally negotiate connection parameters, before Connected event is fired at all. This is done to make wodFtpDLX.NET as much transparent to protocol used as possible. You might notice packets transmitted to/from server in the meantime, meaning wodFtpDLX.NET connected already but is still negotiating protocol parameters.

You can put your code inside this event, but if you did set Blocking property to True then DO NOT execute new methods within the event.

Requirements

Namespace: WeOnlyDo.Client

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

Assembly: WeOnlyDo.Client.FTP (in WeOnlyDo.Client.FTP.dll)

See Also

WeOnlyDo.Client Namespace

 

 


© WeOnlyDo Software. All Rights Reserved.