Skip to Content
avatar image
Former Member

SFTP - HCI - SFTP: How to ZIP files in HCI

Hi Experts

I have a requirement where there will be multiple types of files viz txt,image etc in an SFTP folder, I have to pick it from HCI and ZIP it all together and put it on another SFTP folder as zipped.

Has anyone ever done it in HCI, i have never used any modules or beans in HCI.

What all possibilities are there.

Kindly suggest

Naina

Add comment
10|10000 characters needed characters exceeded

  • Former Member

    Dear Naina

    Good Day!

    Did you managed to implement this requirement through HCI, we have the similar requirement and want to understand from you if we have the solution?

    Please suggest.

    Best Regards,

    Vijay

  • Get RSS Feed

2 Answers

  • Best Answer
    Dec 18, 2017 at 03:45 PM

    Hello Naina,

    I dont think it is possible collect all the files in CPI and zip it and then send it to target.

    From SFTP adapter perspective whenever you pull the files from SFTP ( take an ex you have 15 files ) in CPI 15 messages would be created( 15 entries in Monitoring).

    So its better to ask your SFTP team at source level to runs some script which ZIP all the files and you can send it across SAP CPI.

    Regards,

    Sriprasad Shivaram Bhat

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 15, 2017 at 11:47 AM

    Hi Naina,

    There is a part in the exemplars dealing with zip and unzip:

    Using ZIP-UnZIP and GZIP-UnGZIP

    Maybe that can help you?

    Kind regards,

    Martin

    Add comment
    10|10000 characters needed characters exceeded