cancel
Showing results for 
Search instead for 
Did you mean: 

Append file to existing ZIP; Receive file adapter

Former Member
0 Kudos

Hi all,

I've used the PayloadZipBean with some success; I now wonder if it's possible to add a new file to an existing ZIP ?

I've been able to insert a new file into an existing ZIP, but it seems to always REPLACE the existing file, rather than add a second one.

Any ideas??

Cheers,

Guy

Accepted Solutions (1)

Accepted Solutions (1)

former_member187339
Active Contributor
0 Kudos

Hi Guy,

If you are planninf to use PauloadZipBean in the receiver adapter and insert a new file into an already existing zip file, then it is not possible.

Because by using PayloadZipBean you can

1. Take multiple files and create a single zip file.

2. Read a zip file, unzip it in PI and modify some file and again zip it back

So the best possible way is to read the zip file, unzip it in PI and then try to add a new file into the file list and then again zip the entire files to a single zip file

Regards

Suraj

Former Member
0 Kudos

Hi Suraj,

That's what I thought. I just hoped that one of the great minds out there might have an answer !!

Thanks for the reply.

Guy

Former Member
0 Kudos

Hi Suraj,

That's what I thought. I just hoped that one of the great minds out there might have an answer !!

Thanks for the reply.

Guy

Answers (1)

Answers (1)

Shabarish_Nair
Active Contributor
0 Kudos

Not sure if this is possible with the existing bean. I used a script the last time i had such a scenario.

Will watch this thread to see if the bean helps.

Former Member
0 Kudos

Thanks Vijay.

Pretty much what I thought.