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.