on 12-09-2008 7:15 AM
hello
I have 2 scenarios file 2 RFC using FTP and file 2 mail. every file for each RFC or mail has different name. (the files are XML).
in the ftp sender in the name of the file I write the begining of the file name,(for exampel cost.xml, ship.xml, etc.). the reason that I write * is becuase at the end of the name there is an add of the date and time, so it is different for each one.
the thing is that in the same ftp directory I have both the files and it seems that it doesnt always collect the correct data. (for example if I run scenario A, it will collect the file for scenario B).
another thing is that in the FTP it will always collect the oldest files before it will collect the new one.
does any one know why does it happens with the files and how can I fix it? (do I have something to configure in the ftp sender).
is there a way also to deal with picking each file starting with the oldest one?
Thanks
Kfir
again, thanks for the new information, but this scenario good for NFS and my scenario using FTP.
is there a way to do it with *FTP FILE Transfer?*
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Kfir,
use File Exclusion Mask...by this you can easily achieve what you are looking for.
Regards,...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Instead of writing file name a.xml, try with a.* option. Meanwhile enable archive option at sender channel, problem will be sort out easily.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
since I am using the FTP I dont have the processing sequence "by date". it is in NFS.
I have different comm. channel - 1 for each scenario.
still it is collecting different files to different scenarios and I think it is becuase of the *, even though I though it should work with it.
so how can I different the collect of the files by the date and the time, to pick first the oldest one?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kfir,
If I understood your requirement correctly, that you want the different scenarios to pick the relevant file from the same directory. if this is the requirement then you can go for Exclusion Mask.
Select the file starting with ship.* for your file to file scenario and put the file name in exclusion mask column which you dont want for this scenario.
Also note that put the correct directory name in place of NOTHING.
Thanks!
Hi,
I will suggest you to use different names for two different scenario or use the Processing Sequence parameter according to your requirement.
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Your first problem is a bit wierd. The channel should pick the file as per the naming convention. You try the second solution and let us know the result.
is there a way also to deal with picking each file starting with the oldest one?
Check the "Processing Sequence" parameter in file sender channel and use "By Date"
Regards,
Prateek
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 | |
25 | |
12 | |
9 | |
6 | |
6 | |
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.