rdp4j icon indicating copy to clipboard operation
rdp4j copied to clipboard

Files appear as added after some hours

Open Lisiii opened this issue 7 years ago • 1 comments

Hi!

I have the following problem: When I run the FTP Directory Watcher I don't have any problems, but after some hours all the existing files appear as added and from that time on every now and then (couple of minutes or hours) they appear as added again. I think that it occurs when the internet connection gets lost, but how do I prevent the files from appearing as added again? When I first initialize the directory iterator the extisting files don't appear as added.

Lisiii avatar Oct 10 '17 13:10 Lisiii

Hard to say what is going on, without seeing the implementation.

Could it be that the PolledDirectory.listFiles() implementation returns an empty list when there is a network problem? Instead of throwing IOException

drapostolos avatar Oct 10 '17 19:10 drapostolos