How to download a folder dataiku with python code ?

Solved!
sho_thales
Level 1
How to download a folder dataiku with python code ?

I want to download few folders from dataiku filesystem dataset but in python code. Can i get a hint or something that i can download these folders ?

0 Kudos
1 Solution
Turribeach

Hi, you can't download folders via the API just files. You can however download all files in a Dataiku folder via the GUI:

https://community.dataiku.com/t5/Using-Dataiku/Download-all-files-in-a-managed-folder/td-p/8663

 

View solution in original post

0 Kudos
4 Replies
Turribeach

Hi, you can't download folders via the API just files. You can however download all files in a Dataiku folder via the GUI:

https://community.dataiku.com/t5/Using-Dataiku/Download-all-files-in-a-managed-folder/td-p/8663

 

0 Kudos
sho_thales
Level 1
Author

Thank you!

0 Kudos
sho_thales
Level 1
Author

I want more details on that subject, what can we actually download with the API ?

I have the impression that we are forced to use the GUI to download something.

0 Kudos

You can download all the files in a Dataiku Managed Folder, you just have to use the folder.list_paths_in_partition() method to get all the files and loop through the list to download them. Below is a post with some sample code:

https://community.dataiku.com/t5/Using-Dataiku/Listing-and-Reading-all-the-files-in-a-Managed-Folder...

 

0 Kudos