on 01-14-2010 1:22 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.