Skip to Content
avatar image
Former Member

How to zip all the files generated using file adapter

Hello Everyone,

I have a scenario in place where i split a message into multiple messages. I used to generate multiple file using the file name present in the payload of the splitted message using variable substitution.

This is working fine.

Now the requirement has changed and i want to zip all these file and create a single zip file.

I think it could be done using run OS command option in file adapter, but have no clue how to do it.

Please help me.

Regards

Rahul Nawale

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Apr 19, 2006 at 06:53 AM

    Hi,

    you can use on of the command line ZIP utilities:

    http://www.winzip.com/prodpagecl.htm

    http://www.7-zip.org/

    then when your file adapter puts the file

    you can use commnad line to zip the files

    Regards,

    michal

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Michal,

      Thanks for the reply.

      I have installed the commandline winzip addon.

      How do i have to write the command to zip the file.

      Please let me know the command.

      Regards

      Rahul Nawale