Forum Discussion

mtran21's avatar
mtran21
New Contributor III
5 years ago

Using Zip Writer snap without file structure

I am trying to use a Zip Writer snap zip a .txt file to become .zip file.
So if my txt file location is /intshare/test/watermarkout//test.txt, when I zip it, the folder structure comes with the zip.

Here is my snap

and when I unzip it, it has folder structure

How do I not include the folder structure with the zip file? I just want file test.txt in the root of the zip.

Thanks

4 Replies

  • sriram's avatar
    sriram
    Former Employee

    Currently, to be able to create a new project using the SnapLogic metadata snaps, having “SnapLogic Read” > “SnapLogic Create” is a definite requirement as the “SnapLogic Read” snap is the one responsible for passing metadata related information (org names, users, acls, etc.,) to the downstream “SnapLogic Create” snap. This rule applies for both creating new projects within (or) across orgs to which you have access to. So, in your case, following the “Router” snap (output 0), you would need to add the “SnapLogic Read” snap followed by the “SnapLogic Create” snap.

    Hope this helps.