Skip to Content
avatar image
Former Member

Passing a file via File Adapter without renaming.

We have a scenario whereby we pick up a file locally using a file adapter set up as a sender in local NFS file mode, and then pass that file through PI without mapping or conversion to XML.

We would like to send the file via a file adapter set up as a receiver in FTP mode, and to use the filename that was recognised by the sending adapter. However, I cannot see a way to do this.

is this possible?

- Tony.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

5 Answers

  • Best Answer
    avatar image
    Former Member
    Sep 29, 2008 at 01:39 PM

    Hi,

    if we want to get the Output file as same as Input file name. What ever the Input file name may be, the Output file name should be as same as the Input Picked File name means,

    1)Sender File Adapter side,In Advanced mode check the check box Set Adapter-Specific Attributes

    ---Select File name

    2) You can give any Dummy name at Receiver File channel for the Receiver File Name

    3)Check the Check box Use Adapter-Specific Attributes in the receiver side also.

    -


    Select the file Name Option

    Regards

    Seshagiri

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 29, 2008 at 01:54 PM
    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 29, 2008 at 01:36 PM

    Hi,

    If i understand correctly, you just want to transfer a file without any mapping from one FTP to another FTP.

    You can do it! Just like NFS , set the sender as FTP and receiver as FTP.

    Wherever it has asked for interface name or other names related to IR, put a dummy interface and it will work.

    You can also use XI just to make a file transfer from one FTP to another .

    Regards

    Krish

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 29, 2008 at 01:45 PM

    pass that file through PI without mapping or conversion to XML

    --->

    In this case you can avoid IR completely..refer

    How to send any data (even binary) through XI, without using the Integration Repository

    To keep the same filename from sender to receiver, check adapter specific message attributes in sender and receiver file adapter. Check filename

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 29, 2008 at 01:49 PM

    This Blog from Mical talks about the same thing you are trying to achieve.

    https://blogs.sap.com/?p=41013

    Thanks,

    Karthik

    Add comment
    10|10000 characters needed characters exceeded