Skip to Content

Retaining the FileName in the Receiver FTP adapter

Hi experts,

I have a situation here, were i need to retain the FileName in the message header in the receiver FTP adapter.

I have tried using variable subtitution but seems the FileName is not supported in variable substitution.

Please help

Thanks

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Best Answer
    avatar image
    Former Member
    Oct 08, 2010 at 10:26 PM

    Please make use of Adapter Specific Message Attributes . Check File Name option . The File name can be retained and can be seen in the message header dynamic configuration.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 09, 2010 at 12:04 AM

    Hello,

    if you need file name to be retained in the receiver adapter from the sender side. then u can do that by dynamic configuration using adapter specific message attributes, check this blog for details-

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

    if you dont have a mapping in your interface to use dynamic configuration, then you can do it via adapter module also- have a look here, /people/sap.user72/blog/2005/07/15/copy-a-file-with-same-filename-using-xi

    regards,

    francis

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 10, 2010 at 07:00 PM

    Varible substituion works for reciever payload only. You can use Dynmic config in your mapping if you want get it from mapping. Or else if both the adapters are file based you can use Filename FileName option in both the adapters.

    Add comment
    10|10000 characters needed characters exceeded

  • Jul 03, 2011 at 11:52 PM

    Thank you guys that worked.

    Add comment
    10|10000 characters needed characters exceeded