Hi,
I have to start a sequence repeatedly if any file arrives at a particular location. I tried to do by using a WaitForFile stage by giving the file name as *.*. It is not working. How can we do this ?
Wait for file
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 342
- Joined: Tue Nov 04, 2008 10:38 am
- Location: Chennai, India
-
- Participant
- Posts: 152
- Joined: Tue Jan 13, 2009 8:59 am
Re: Wait for file
[quote="vinothkumar"]Hi,
I have to start a sequence repeatedly if any file arrives at a particular location. I tried to do by using a WaitForFile stage by giving the file name as *.*. It is not working. How can we do this ?[/quote]
did you give the complete path in the file name ??
I have to start a sequence repeatedly if any file arrives at a particular location. I tried to do by using a WaitForFile stage by giving the file name as *.*. It is not working. How can we do this ?[/quote]
did you give the complete path in the file name ??
-
- Participant
- Posts: 342
- Joined: Tue Nov 04, 2008 10:38 am
- Location: Chennai, India
Re: Wait for file
I gave full path. Instead of giving file name I gave *.*.
But it didnt work..
I gave xx/xx/*.*
But it didnt work..
I gave xx/xx/*.*
-
- Participant
- Posts: 152
- Joined: Tue Jan 13, 2009 8:59 am
Re: Wait for file
[quote="vinothkumar"]I gave full path. Instead of giving file name I gave *.*.
But it didnt work..
I gave xx/xx/*.*[/quote]
i presume that you compiled the job and ran the job so that the job waits till any file available in the specified path
is that what you are doing???
But it didnt work..
I gave xx/xx/*.*[/quote]
i presume that you compiled the job and ran the job so that the job waits till any file available in the specified path
is that what you are doing???
-
- Participant
- Posts: 342
- Joined: Tue Nov 04, 2008 10:38 am
- Location: Chennai, India
Re: Wait for file
Even I keep any dummy file in that location to test, it is not working. If we give exact file name in Wait for File stage it is working.
-
- Participant
- Posts: 152
- Joined: Tue Jan 13, 2009 8:59 am
Re: Wait for file
[quote="vinothkumar"]Even I keep any dummy file in that location to test, it is not working. If we give exact file name in Wait for File stage it is working.[/quote]
since it searches for the name of the file name literally...that is why it is waiting...
since it searches for the name of the file name literally...that is why it is waiting...
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact: