on 12-05-2017 12:04 PM
I have a multiples files at sender i need to zip it into a single file at the receiver.
when i put multiple files in my sender channel the files will be individually zipping into different folders,but i need them in single zip file.I used AF_Modules/PayloadZipBean in receiver channel module tab and zipmode as zip.All.If any one know about this please comment it.
Hi Prashant,
Two things that come to my mind:
1) Are you sure all your files get sent in a single PI message, i.e. are you using the "additional files" configuration in the sender adapter?
2) The zip mode that would put the main payload and all attachments into a single file is called "zipAll" (without period). Can you double check that you did not include the period that you have in your questions?
Regards,
Patrick
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you are processing each file in a separate message ID, you cannot zip them into one archive using the PayloadZipBean module as it would only ever apply to a single message. The "additional files" option I mentioned will take care of storing all your files into a single message. If you must process the files in separate messages, you'll have to revert to a script-based solution, i.e. you'll have to execute a shell script after you have posted your files to your target directory that detemines if all needed files are there and performs the zip action.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I didn't solved this as of now.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
7 | |
6 | |
5 | |
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.