Community forum

Please note that VisualCron support is not actively monitoring this community forum. Please use our contact page for contacting the VisualCron support directly.


jharp
  •  jharp
  • No customer Topic Starter
2011-07-19T12:09:47Z
Hi, just a quick question. I know I can trigger a job on file create, rename, delete and change. But is there a way to trigger a job when a file is moved to a certain folder (not copied)?
Thanks
Jan
Sponsor
Forum information
ErikC
2011-07-19T14:11:47Z
Hi Jan,

A file move consists of the folowing steps:

1) copy file from source to target location.
2) delete file from source location.

You can have a file create trigger on the target folder and have a condition on the source folder to see if the file is gone.

Regards
Erik
Uses Visualcron since 2006.
Support
2011-07-19T14:16:39Z
Thanks Erik. I think move detection should work if you use both Created and Changed watch type like this.
Support attached the following image(s):

Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
jharp
  •  jharp
  • No customer Topic Starter
2011-07-19T14:24:48Z
Thanks for the quick help. Unfortunately this does not work with me. I tried all combinations but the trigger keeps quite whenever I just move files instead of copy files. Well, I actually move a whole folder with files in it. However it works when I copy the whole folder but not when I move it.
Support
2011-07-19T14:25:59Z
We tested with Created+Changed and it worked. Are you sure you used the destination folder and not the source folder?
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
jharp
  •  jharp
  • No customer Topic Starter
2011-07-19T14:27:47Z
Ups, you were quick 😉 I actually move a whole folder with files in it. However it works when I copy the folder with the file in the destination folder but not when I move it.
Support
2011-07-19T14:29:31Z
It does not seem to work on whole folders. You need to move files only.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
jharp
  •  jharp
  • No customer Topic Starter
2011-07-19T14:34:07Z
Unfortunately that's not an option for us. I'll see if I can work around it with Erik's approach. Any further ideas are welcome. Thanks.
Scroll to Top