Skip to Content

convert multiple input files to single zip output file


Currently we have an SFTP location containing several csv formatted files. We would like to read create a zip archive file and output it on another SFTP location, using CPI. I haven't found a working solution for this yet, the current zip operation does not appear to support multiple files.

Is this possible?

Thanks in advance!


Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    Nov 26, 2018 at 04:54 PM

    Hello Bram,

    We can't collect all the files in a single message of SAP HCI.

    The reason behind is if you poll files from SFTP, each file would be processed as a separate message in SAP HCI.

    So it would be better if you ask SFTP team to ZIP all relevant files and keep it as a ZIP file in SFTP directory.

    Then easily you can process the ZIP file to target system.

    You can go for below approach, if SFTP team is not able to combine and create the ZIP file.

    If you need to poll only few no.of files from SFTP and combine them (in SAP HCI), you can try with the approach mentioned in the below blog (Check Sriprasad Shivaram Bhat's answer)

    You could try with one main integration process and many local integration processes to poll different files from same SFTP directory and combine them in SAP HCI


    Add comment
    10|10000 characters needed characters exceeded