on 08-28-2006 7:51 AM
Hi,
I have a directory with a 10-20 files.
i would like to have a scenario wich will once a day copy this directory to another server and keep all files with the same name. how is hte best way to do it?
Hi,
java proxy started with anything (schedules abap report or from www etc.)
inside the java proxy you only copy files
(no need to put them into XI)
this way the proxy will be able to handle
as big files as you wish very quickly
you can have configuration on WWW for this (ftp pass user, directory etc.)
Regards,
michal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Udi,
AM assuming you do not need any mapping etc.
So, create a Dummy Datatype, Dummy Message Type and use the same Message type in your inbound and outbound message interfaces..
No message and interface mapping is needeed.
In your ID, create the necessary configuration.
If you need the same file name as the sender, you can use Adapter Specific Identifiers in your File adapter and poll using . like mentioned by Michal.
Regards,
Bhavesh
Udi,
<i>would like to have a scenario wich will once a day copy this directory to another server and keep all files with the same name. how is hte best way to do it?</i>
<i>but in the receiver communication channel , don't i have to give the destination file name</i>?
This is what you need to do.
Sender File Adapter
1. Adapter Specific Identifers -- Select File Name
Receiver File Adapter
1. Adapter Specific Identifiers -- Select File Name
In your Receiver File adapter ~~ FIle Name , give some dummy value . Now, when the Interface is run, the name of the File from the Source will be taken as the File Name for the target as well.
Regards,
Bhavesh
Udi,
Can you confirm this is what you did,
1. In the Sender File adapter -- You selected ADAPTER SPECIFIC MESSAGE ATTRIBUTES --> FILE NAME
2. In the receiver File adapter -- You selected ADAPTER SPECIFIC MESSAGE ATTRIBUTES --> FILE NAME
You gave a dummy name for the filename..
and you are on SP 14 and above. I have tried this and i can confirm if this is what you have done, it will work.
You can also take a look at michal's blog,
<a href="/people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14">Same filename from sender to receiver</a>
Regards,
Bhavesh
Mike solution sounds good ...
maybe you can also have this as a alternate solution if the file size aint that big - /people/shabarish.vijayakumar/blog/2006/04/03/xi-in-the-role-of-a-ftp
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.