on 08-06-2007 7:27 PM
Hi,
I am working on a File to File scenario, where at a given time 10 inputs from different users come together, which have to be processed through XI. The problem with File adapter is that you have to give the specific name of the file to be picked. The input files for me are something like this vendor1.txt, vendor2.txt and so on. Is there a possibility through which i will be able to give the file name dynamically. i.e. I should be able to write a small java code directing XI that the file it has to pick up will be of the format vendor(Number).txt
However I have seen blogs where the input file is picked up and the output file is named different. I want the reverse case to be executed. Please suggest.
Hi Kartik,
You can specify your file name as vendor. or vendor*.txt.
adapter will pickup all files which having vendor as a prefix. You do not need to write a java code for this.
Let me know if you need more details.
Nilesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey
in addition to what Raj said,if you are not sure about the file names,you can simply give the file name as . in the sender file adapter and it will pick up all the files in sender directory
Thanx
Aamir suhail
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Kartik,
Did u tried with option vendor. ?
Best regards,
raj.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
24 | |
11 | |
9 | |
7 | |
5 | |
5 | |
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.