Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
2.3k views
in Java FTP by (120 points)
I am trying to implement a download of a 25M file while a Java client application is running using edtFTPj. open source not PRO. When the application starts, I start a background thread. In this thread, I start the down load using FTPClient.get(String, String). If the user closes the application, then the file may not completely down load.

The next time the application is started, I want to resume the down load. I have tried resume() and restart(nSize) but I get an exception that the function is not implemented.

Is the exception due to the JAR not being the PRO version? Will resume() and restart() work as I have explained the process?

1 Answer

0 votes
by (162k points)
All you need to do is call resume() before get(), and it should work fine in edtFTPj. However not all FTP servers support resume, and it looks like your FTP server does not.

Categories

...