Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
2.6k views
in .NET FTP by (180 points)
I'm using edtFTPnet with C# to create a command line interface.

How do I programmatically know if and when the FTP connection is abruptly disconnected due to hanging, server disconnects, timing out, etc.

I'm trying to figure out how to code a retry routine. Basically, how do I know when to attempt another retry?

Thanks,
Michael

1 Answer

0 votes
by (162k points)
When you get an IOException, you can retry.

Categories

...