cancel
Showing results for 
Search instead for 
Did you mean: 

XI File To File

steven_pelser
Participant
0 Kudos

Hi,

I have setup a simple scenario (FTP) where I recieve a file and then put the same file on a different server. The scenario works, all I need to know is how do I configure my reciever to use the asme file name as in the sender system.

i.e. Get files from server x with name file_1, file_a etc ...

Put file on server b with name file_1, file_a

Accepted Solutions (1)

Accepted Solutions (1)

bhavesh_kantilal
Active Contributor
0 Kudos

Hi,

Which SP are you on?

If Sp14 and above this is what you need.

1. Sender File adapter -- Adapter Specific Attirbutes --> File Name is selected

2. Reciver File adapter -->Adapter Specific Attirbutes --> File Name is selected.

Just give a dummy file name and your source file name will be copied to the target filename.

Regards,

bhavesh

steven_pelser
Participant
0 Kudos

Hi again,

Thanks a lot, this has cleared things up for me. I have a further issue with this. In my sender system I have more than one file, what is happening now is that it overwriting the file on the recieveing system.

Shabarish_Nair
Active Contributor
0 Kudos

there are various options that u can use like create, append etc.

Ref: http://help.sap.com/saphelp_nw04/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/content.htm

bhavesh_kantilal
Active Contributor
0 Kudos

Steve,

In the recive file adapter , select the option~~ Add Time Stamp and you will get the target file with the time samp add to the name.

Just look at file construction mode in this link,

http://help.sap.com/saphelp_nw04/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/content.htm

Regards,

Bhavesh

Answers (1)

Answers (1)

Shabarish_Nair
Active Contributor
0 Kudos

Follow weblog - /people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14