Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
3.3k views
in Java FTP by (161k points)
A user writes:

While trying out the examples, I had noticed that the downloadCompleted() method of EventListener interface is called even if the download is not complete because of connection failure. In other words if I'm downloading a file from ftp server and in between the conenction is lost, then still the downloadComplete() method is called. I would like to know if there is any way to find that the download has failed.


Yes, an exception will be thrown from the downloadFile method.

Please log in or register to answer this question.

Categories

...