Apache FTP Client - abort transfer

I am using Apache FTP client to do the FTP transfer. The trasnfer runs in a thread.

I am running another thread for timeout. Once timeout occures i need to terminate transfer if not finished.

For some reason FTPClient.abort doesn't work.

I found some discussion on that issue and tried to override the abort method - it didn't help.

http://apache-commons.680414.n4.nabble.com/Net-FTPClient-abort-problem-td739542.html

 

I tried to "stop" thread - that didn't work either.

 

Any suggestions ?

Thank you in advance.

Thank you for your interest!

We will contact you as soon as possible.

Send us a message

Oops, something went wrong
Please try again or contact us by email at info@tikalk.com