Skip to main content
Solved

downloading files from data set

  • December 12, 2023
  • 1 reply
  • 40 views

Forum|alt.badge.img

can we download all files from data sets at once instead of going one by one

 

Best answer by Mithila Jayalath

Hi @Kushagra Mishra 

Try to list all the files that belongs to a particular dataset using the cognite SDK and then iterate through that list and download the files.

 

How to list the files:https://cognite-sdk-python.readthedocs-hosted.com/en/latest/files.html#list-files-metadata

How to dowload the files:https://cognite-sdk-python.readthedocs-hosted.com/en/latest/files.html#download-files-to-disk

View original
Did this topic help you find an answer to your question?

1 reply

Mithila Jayalath
Seasoned Practitioner
Forum|alt.badge.img
  • Seasoned Practitioner
  • 369 replies
  • Answer
  • December 12, 2023

Hi @Kushagra Mishra 

Try to list all the files that belongs to a particular dataset using the cognite SDK and then iterate through that list and download the files.

 

How to list the files:https://cognite-sdk-python.readthedocs-hosted.com/en/latest/files.html#list-files-metadata

How to dowload the files:https://cognite-sdk-python.readthedocs-hosted.com/en/latest/files.html#download-files-to-disk


Reply


Cookie Policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings