how do I create a queue to get all files in the server root?
Hello,
I need to do a daily download of the content of the root on a file server. The problem is, new files are added there every day. I need to be able to get these new files without knowing their names.
For instance, today I have a file named xxx_20170816
Tomorrow, a file named xxx_20170817 will be added to the root directory.
I cannot queue the root as folder and I cannot know in advance what file name will be added and when, but I want to schedule a task to download every file it finds there.
How can this be done?
Thank you,
Stefan
|