cancel
Showing results for 
Search instead for 
Did you mean: 

File Transfer with retaining file name

Former Member
0 Kudos

I have requirement to transfer binary file (jpeg and pdf) from one server to another server but I also need to maintain source file naming convention when creating file on another server.

I know I have to use Repository objects but  what will be Data type, message type  look like. And how to do content conversion on File Channels if files are jpeg or pdf?

Accepted Solutions (0)

Answers (1)

Answers (1)

ambrish_mishra
Active Contributor
0 Kudos

Hi Kumar,

Go through the William's blog below:

http://scn.sap.com/people/william.li/blog/2006/09/08/how-to-send-any-data-even-binary-through-xi-wit...

For retaining the file name, use ASMA.

Enable Adapter specific Message attributes in both the adapters to retain the same file name.

http://scn.sap.com/community/pi-and-soa-middleware/blog/2005/11/10/xi-the-same-filename-from-a-sende...

Hope it helps!

Ambrish