Skip to Content

Pick one .txt File and multiple .pdf files from SFTP to Proxy and NFS

Hi,

I have a requirement to send one tab delimeted .txt file from sftp to a proxy in SAP and at the same time send multiple .pdf files from same SFTP server to NFS File application server.

Also ,File content conversion will be applied on .txt file.

How can we acheive this ?

If we use advanced source file selection option in sftp adapter ,will it be like this that FCC get applied to tab delimeted .txt file only ,not on pdf files.

Please help

Add a comment
10|10000 characters needed characters exceeded

Related questions

4 Answers

  • Posted on Oct 24, 2018 at 11:03 AM

    Piyush,

    Yes ,you can use Aditional files in SFTP as well , the FCC is applied to the main payload only and other files mentioned will come as attachment.

    Br,

    Manoj

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 24, 2018 at 12:03 PM

    Hi!

    "Additional files" parameter works quite well using SFTP adapter as Manoj has already mentioned:

    But it might be hard to implement in your case since addtional files are taken using the mask (typical case - the same name and the different extensions) and ALL additional files should be defined at configuration time in adapter settings. Moreover, you can't save attachments using NFS mode for receiver File adapter.

    What is the linking scheme for your source files? How should sender adapter realize which .pdf files are to be taken along with main .txt file?

    Regards, Evgeniy.


    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 25, 2018 at 09:54 AM

    Evgeniy,

    You are correct. I thought the txt and pdf are related.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 24, 2018 at 10:38 AM
    -1

    Additional file concept is applicable in case of NFS only.

    You can segregate your requirement into 2 parts -

    1) SFTP -> PI -> NFS (Pass Through scenario ) --- This will pick your txt and pdf files from SFTP and put into AL11 directory.

    2) NFS -> PI -> Proxy -> Pick your txt file, do FCC, mapping and push into inbound proxy.

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Apu!

      In case you doesn't have to combine .txt file with .pdf files in one message based on any condition, there is no need to use separate configurations. You just set "Advanced Source File Selection" to get both .pdf and .txt files from SFTP location, for example, and use Receiver Determination to set appropriate receiver for message using "FileName" ASMA attribute's value.

      Regards, Evgeniy.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.