rdp4j
rdp4j copied to clipboard
Files appear as added after some hours
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.
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