 |
SoftTree Technologies
Technical Support Forums
|
|
Author |
Message |
LeeD
Joined: 17 May 2007 Posts: 311 Country: New Zealand |
|
Semaphore file wildcard deletion |
|
Hi
I've noticed that when I set up a file watch job to watch a wildcard eg \\server\directory\*.txt , the job fires fine, but the delete, rename, or move I set for after job run doesn't actually do anything.
It works fine on a regular file reference.
Design or a bug?
Thanks
|
|
Tue Nov 20, 2007 5:46 pm |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7963
|
|
|
|
It is my impression, that this feature doesn't support file masks. It can handle multiple files only if their names are explicitly specified, for example
\\server\directory\1.txt,\\server\directory\2.txt,\\server\directory\3.txt
Yet, you can always add "on job start" notification action and use either program type action like "cmd /C copy" or JAL script action like "FileCopyEx( source_with_mask, destination, counter )"
|
|
Tue Nov 20, 2007 6:39 pm |
|
 |
LeeD
Joined: 17 May 2007 Posts: 311 Country: New Zealand |
|
|
|
Yep, true but when the wildcard evaluates to a single file it doesn't handle that either.
|
|
Tue Nov 20, 2007 6:41 pm |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7963
|
|
|
|
It doesn't attempt to resolve file names. It only checks whether specified files exist or not. How many of them are there and what their names are really 2 additional questions it is not designed to answer.
|
|
Tue Nov 20, 2007 6:50 pm |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|