on 05-24-2006 6:38 AM
Hi All,
How can i make sure all the files in the source folder are transferred to the target ftp server, to launch a script to process those files?
Thank you
Ganges Leaves
Hi,
From what I undrerstand you wan to use SAP XI as ftp for transfering files.
You can do this by just creating a data type with one segment and field called row.
Do not create message mapping and just read the file and write it to destination directory.
If you are using shell script then u don't need SAP XI.
Regards
Vijaya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
if you want to use the XI for ftp transfet
(without any conversion)
I suggest using java proxy for that
you can call the proxy with BPM
and just copy the file within the proxy
this way you can save much performance
in your solution and you will know if all
files where transferred or not
(as you can transfer all with one proxy call)
Regards,
michal
-
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
>>>Can I use any open source libs to do this file transfer.
of course you can
all you need to do it to generate proxies from the XI
and use free libs for FTP as you say
that's what we did
but there's a trick
it's better do use 2 proxies in your BPM
(you can correlate them)
so in your BPM you have on send step to java proxy
and inside this java proxy you call the other java proxy
(with correlation value) - receive step
if you use one sync java proxy you may have timeout problems and with that 2 proxy approach you won't
Regards,
michal
Hi Michael,
Can we do this without using BPM?
I have a scenario in which I just need to transfer a flat file to an external system. No mapping is required. We are not using BPM. I read your comments on using Java proxies to transfer large files. I know that we can use standard Java IO APIs to copy the file over. However, I don't know how to implement this.
In my scenario an SAP tranaction will create the file. I just need XI to pick it up and FTP it to another server. Can you point in the right direction as to how i should go about imlementing this?
1. I assume i will still have to use file adapter to pick up the file.Right?
2. Then, i use Java server proxy to FTP it to the target system?
3. In order to generate the proxy i need a message interface. Should i use a dummy MI as my inbound and outbound that points to a dummy message type?
Appreciate your help on this.
Thanks,
Birla.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.