hi,
I use java Thread to trigger ftp file transfers. i want to be able to cancel the transfer by user pressing a cancel button.
for this i call the FTPClient.cancelTransfer() method. it seems to work because when i checked file size after cancel it is less than total file size.
the problem is that i want to be able to delete the current canceled file when i call cancellTransfer(). does this method take care of that ?
logically it should.but i noticed the file remains in ftp server with incomplete size & it is tedious for me to track which file is canceled to delete it afterward.
any suggestion to deal with this issue is greatly welcomed.
thanks.