SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
File Watching for Filename

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
File Watching for Filename
Author Message
Vincent Ng



Joined: 15 Oct 2002
Posts: 2

Post File Watching for Filename Reply with quote

Can file watching function handling filename with wildcard?
We have many incoming files but do not know exactly the full filenames.
Those files have prefix like ABCxxxxx.
Please advise, thanks.

Tue Oct 15, 2002 4:23 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7969

Post Re: File Watching for Filename Reply with quote

Yes, you can use wildcards.

By the way, @V"file" macro parameter can be used in file-watch job scripts and properties to return the name of the file that has actually triggered the job.

: Can file watching function handling filename with wildcard?
: We have many incoming files but do not know exactly the full filenames.
: Those files have prefix like ABCxxxxx.
: Please advise, thanks.

Tue Oct 15, 2002 5:01 pm View user's profile Send private message
Shawn Martin



Joined: 15 Nov 2004
Posts: 15

Post Re: File Watching for Filename Reply with quote

: Yes, you can use wildcards.

: By the way, @V"file" macro parameter can be used in file-watch job
: scripts and properties to return the name of the file that has actually
: triggered the job.

I am using filemove with a wildcard, and the job fails when trying to find the
file. I get a "source file not found error". When I give the actual filename, the job works.
I am using semaphore to check if the
file exists before trying to move the file. What is the problem, and is
the @V"file" macro parameter an option to pull the actual filename in? How would I do this?

Mon Jan 10, 2005 3:08 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7969

Post Re: File Watching for Filename Reply with quote

FileMove doesn't support wildcards, but FileMoveEx does. Check out http://www.softtreetech.com/cgi_bin/config.cgi?read=5959 topic it looks similar to your case.

: I am using filemove with a wildcard, and the job fails when trying to find
: the
: file. I get a "source file not found error". When I give the actual
: filename, the job works.
: I am using semaphore to check if the
: file exists before trying to move the file. What is the problem, and is
: the @V"file" macro parameter an option to pull the actual filename
: in? How would I do this?

Mon Jan 10, 2005 4:35 pm View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite All times are GMT - 4 Hours
Page 1 of 1

 
Jump to: 
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


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.