cancel
Showing results for 
Search instead for 
Did you mean: 

UnZip Paylaod....

former_member529475
Active Contributor
0 Kudos

HI All,

I am doing on File -> File Scenario. My Source File is a ZIP File(contains .txt file with tab delimeter). I need to unzip the file and sent to the target system.

Currently I developed the scenario using payloadZipBean. If the ZIP File contains the .xml file, it is able to develiver the message to the target system.

Is there any way to extract a zip file which contains the combination of .txt files? I tried with Module development. But with that the files are not populating in the target system.... Please help....

Thanks in advance..

Regards,

Vasu

View Entire Topic
former_member181985
Active Contributor
0 Kudos

Are picking the ZIP file directly with FileAdapter (or) are you using payload Zip bean to zip the picked text/xml file?

>Is there any way to extract a zip file which contains the combination of .txt files? I tried with Module development. But with that the files are not populating in the target system.... Please help....

As far as I know this is not possible.

since you can unzip the set of files in the mapping or module, but the adapter will only write the last extracted file. of course you can append each file content to one stream and you can write it to a single file.

former_member529475
Active Contributor
0 Kudos

I am picking the ZIP File using the file adapter and I created a module "payloadZipBean".

The ZIP File contains the data as follows..

SampleFile1.txt (Tab Delimeter File)

SampleFile2.txt(Tab Delimeter File)

SampleFile3.txt(Tab Delimeter File)

If I sent this SampleZIP File, it is not working. Later I sent xml files as below..

SampleFile1.xml

SampleFile2.xml

SampleFile3.xml

With this SampleZipFile, we ZIP File got extracted in the target System.

Any Idea about .txt files?

former_member529475
Active Contributor
0 Kudos

Hi All,

I am sending 5 txt files in one ZIP File. While extracting, it is unziping only one file. any reasons?

regards,

Vasu

Shabarish_Nair
Active Contributor
0 Kudos
zip.mode

Specify the processing mode:

u25CB       To compress the main payload, select zip or zipOne.

u25CB       To compress all payloads, use zipALL.

u25CB       To decompress the main payload, use unzip.

i think only one payload will be unzipped. But you can zip multiple ones.