rdp4j icon indicating copy to clipboard operation
rdp4j copied to clipboard

Limit on number of Directories to poll

Open nikhilingole opened this issue 8 years ago • 4 comments

Hi,

Thanks for the awesome library.

We are using this library to poll a FTP server and we are observing that it is not generating an fileAddedEvent when there are like 100 directories to poll. Is there any upper limit on the directories can we can poll. The same code works for 5 directories. fyi - I have tried increasing the polling interval with no success.

Any suggestions. Thanks.

nikhilingole avatar Jan 18 '17 06:01 nikhilingole

Hi

As far as I know there is no limit in the library regarding number of directories to poll.

You can try to reproduce the problem with polling +100 directories on your local filesystem (using the JavaIoFileAdapter). If you're able to reproduce the problem, then it's something strange within the library (or the filesystem).

If the above does not give anything, maybe there could be some sort of limitation on the FTP server it self, like a limit in number of handled requests (concurrent?) within a time period?

/Alex

drapostolos avatar Jan 18 '17 21:01 drapostolos

Thanks for the quick reply Alex. I will give this a shot and check.

Thanks, Nikhil

nikhilingole avatar Jan 19 '17 11:01 nikhilingole

Let us know how it goes.

/Alex

drapostolos avatar Jan 19 '17 13:01 drapostolos

Sure, I'll post my findings here.

nikhilingole avatar Jan 24 '17 08:01 nikhilingole