Ability to zip files from one folder to another

LouisDHulst
Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Neuron, Registered, Neuron 2023 Posts: 55 Neuron
A business user in my team is trying to upload daily pulls to an SFTP. These files are created by separate Snowflake queries, then merged using a Merge Folder recipe.
The business user would like to be able to zip these files into a single folder before uploading to SFTP (3rd party requirement). Currently they are using a mail reporter to send themselves a zipped folder, then uploading manually.
Comments
-
Turribeach Dataiku DSS Core Designer, Neuron, Dataiku DSS Adv Designer, Registered, Neuron 2023 Posts: 2,424 Neuron
You should be able to do this with a Python recipe or a Shell recipe. Here is my shell recipe:
Also if you create a connection for your SFTP site you should also be able to create a managed folder in to and use the Sync recipe to sync the consolidated zip file.