Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
2.3k views
in General by (120 points)
I am not getting notification ftppro when the server closes the FTP connection.
I thought connecting to both the FTPConnectionEventHandler Closing, FTPConnectionEventHandler Closed, and FTPMessageHandler ReplyReceived events would notify but it does not.
I did not see the FTPMessageHandler ReplyReceived receieved any notification that the server closed the connection.
Can some one tell me what even I should register for to be notified when the server closes the connection?
You can email me at stevensrf1@inbox.com directly for a response.

/// <summary>Occurs when the component is about to close its connection to the server.</summary>
[Category("Connection")]
[Description("Occurs when the component is about to close its connection to the server.")]
public virtual event FTPConnectionEventHandler Closing;

/// <summary>Occurs when the component has closed its connection to the server.</summary>
[Category("Connection")]
[Description("Occurs when the component has closed its connection to the server.")]
public virtual event FTPConnectionEventHandler Closed;

[Category("Commands")]
[Description("Occurs when a reply is received from the server.")]
public virtual event FTPMessageHandler ReplyReceived

1 Answer

0 votes
by (51.2k points)
Those events will only be triggered when Close is actually called. Is Close being called? They won't trigger if the connection just drops out.

- Hans (EnterpriseDT)

Categories

...