Forum Discussion
j_angelevski
5 years agoContributor III
Use a mapper with binary output before ZipFile writer snap and map the content-location of your file:
$[‘content-location’].substr($[‘content-location’].lastIndexOf(“/”) + 1) ----> $[‘content-location’]
Then in the zip file write, just enter the filename of the archive folder
mtran21
5 years agoNew Contributor III
@j.angelevski So I did tried this and it looks like it zipped all the files together in 1 zip file.
Is there a way to have each input file its own zip file?
For example, my input are test1.txt and test2.txt. I like to be able to produce 2 zip files. test1.zip and test2.zip.
Thanks