Hi ya’ll, we are currently on the trial and loving VisualCron. I’m trying to migrate something we had WatchFTP doing previously, which is moving new files that show up to our FTP site when they come in, which was extremely easy because even though we have many clients, we were able to add a mask to the effect of */In/* for finding any files in the “In” folders throughout the tree. Is there any way to do this with VisualCron? The folder field in the file filter seems to be literal only, and the file mask field is only for file names as far as I can tell. Thank a bunch!
Hi Ahashley,
If I understand you correct, you want to watch a folder (local or remote/network?) and then whenever files come there, they get moved/copied somewhere else.
What you can do is create a job, then you add a File Trigger (we have a good tutorial on File trigger you can watch here:
https://www.visualcron.com/tutorials.aspx )
In the file trigger, you set the location of the folder to watch (if it's a network path, use credential and a UNC path, i.e \\pathname\ and not a logical path which would be W:\pathname\) and what files to watch (could be *.* if any files) for.
Then, add a Copy files task in that job, and in folder path, use variable: {TRIGGER(Active|LastTrigger|File.Folder)} (means it'll use the folder that was triggered last time, which would be the file trigger)
Then as file name, you use variable: {TRIGGER(Active|LastTrigger|File.Result.Name)}
Then in Copy settings, you set the destination folder where the file should be copied to, then you can set it to delete the source file, so it basically works as a "Move" command, but just copies it there first, then deletes the original.
You can mail us at
support@visualcron.com if you get stuck somewhere and I can show you a little bit more in detail with screenshots or similar. Don't hesitate to contact us, good luck!