on 01-05-2011 5:44 AM
Hi All,
I have 2 asynchronous scenario's transferring file from one ftp location to another and vice-versa.
I want 2 start the second scenario only when the file sent by first scenario is successfully reached.
I want to know how and where to put this condition that transfer this file only when a particular file is present in that folder??
Regards,
Amit Sharma.
Hi,
For this type of requirement you can do the following:
1) Create an additional file in target directory with same name as the file is pasted in the target directory but with different extension (example .eod file ) whenever the original file is picked from first interface.
2) Now for the second Interface to get executed check if ther is .eod file existing then pick the original file. (this can be done using additional file parameter option).
Regards,
Sainath Chutke
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can use an OS command in receiver file adapter to move the file from the waiting to the sending folder.
If you are not sure if the file is already available, you can use a trigger file and use the additional file option in sender adapter.
Another option is using an OS command in sender file adapter which checks, if the other file is available.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.