rdp4j
rdp4j copied to clipboard
While fetching files it fetches all the files even if they are already fetched
I have a sftp directory and i have applied polling so after every 30 sec it fetches and moves all the files present in sftp to local folder but what i want is If i have already fetched 100 files first then while fetching next time it should only fetch new files and not the previously added 100 files
I'm not sure I'm following what you mean? Can you provide some code examples? If you are fetching and then removing files from remote folder to local folder, are these files added back on the remote folder so they to be fetched again?
What do you mean with sftp directory
? Is that your PolledDirectory
implementation?