Check for New file in folders

Hi,
I have two main different folders and it consists different sub folders… I would like to check for new files in every sub folder and in main folder… if new file exists in any of the sub folder I want to copy that files into another folders and sub folders. My sub folders are dynamic one and it should change frequently… can any one help me out on the same.

Thank you,
Gokul.

Hi Gokul!

I think there is no way to dynamically check for new files in a folder.
You can just create an infinite loop or schedule a process.
Thanks!

1 Like

@gokulvasant

there are many ways to achieve this .

there is a class called as : FileSystemWatcher Class

which monitors the folder for file change

you can use powershell/vb.net and windows task Scheduler to achieve your requirement.

@Jan_Brian_Despi There is a custom activity called File Watcher Use this custom activity so you can achieve what you are looking for

2 Likes

Good to hear that. Thank, Indra!

1 Like

@gokulvasant

Check this out

1 Like

Use File Change Trigger within Monitor Events.

@zheng.tan

But that will impact the bot utilization right.
bot will be continuously looking into a particular folder and will be occupied throughout the course.

@zheng.tan
How likely do you recommend the windows task scheduler

For how long or how often you want to run the monitoring, is another question.
But to monitor such changes, you can use File Change Trigger within Monitor Events activity.

Hi Guyz… thank you for your response.

1 Like