cancel
Showing results for 
Search instead for 
Did you mean: 

How to zip all the files generated using file adapter

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

MichalKrawczyk
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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

Answers (0)