cancel
Showing results for 
Search instead for 
Did you mean: 

Can we extract multiple zip files through PayloadZipBean

Former Member
0 Kudos

Hi All,

I have a requirement in which I have to pickup the zip file which contains 6 files and extract the content with the same file name to the different location.

Example

Source ---->PI ------->Target

Zip(contains 6 files)               Unzip (6 files with the same name in d:\output)

I have tried Payloadzipbean but couldn't all the zip files with the same name.

Can anyone please suggest how to achieve this without creating Adapter Module.

Thanks,

Iqbal

Accepted Solutions (0)

Answers (1)

Answers (1)

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

>>>Can anyone please suggest how to achieve this without creating Adapter Module.

yes:

write a small batch script which you can start in the sender file channel which will unzip the files and then just pick up the files and move them to any other location,

Regards,

Michal Krawczyk

Former Member
0 Kudos

Hi Michal,

thanks for your reply.

I am working on Windows Envirnoment and there is not standard Dos command which can unzip the file.

I have to either install 7zip or anyother software to perform this operation.

Do you know any other method?

In case we decide to go to DOS/Windows command option then do you know any dos/windows bat which can do the unzipping.

Thanks,

Iqbal

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

>>>I have to either install 7zip or anyother software to perform this operation.

7zip always works,

Regards,

Michal Krawczyk

Former Member
0 Kudos

Hi Michal,

Do you know the DOS/Windows script which I can use to fulfil this requirement?

Thanks,

Iqbal

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

just start with google...

there are so many examples that it's hard not to find them

Regards,

Michal Krawczyk