I want to periodically have the files in a specific bucket downloaded by say triggering a function. I see in docs that there is a listfiles function but how can one go about doing that ? The UI doesn't provide a way to zip and download a bucket as well as far as I am aware.
Anyone done something similar with storage ?
Summary
The user wants to know how to download a bucket. They are looking for a way to loop through the list of files returned by `listfiles`, download them, and add them to a zip in memory. They are also asking if it is possible to write a function to zip the files. Another user suggests downloading the files one by one. The user wants to periodically download the files in a specific bucket. They mention that the UI does not provide a way to zip and download a bucket. They are asking if anyone has done something similar with storage.
Solution: To download files from a bucket, you will need to download them one
You had mention in a post a while back that one could write a function to zip files, that not possible ?
Drake
Admin
Aug 26, 2023, 21:44
Sure, you can download one by one and add each to a zip
Drake
Admin
Aug 26, 2023, 21:44
Then upload to a bucket to be downloaded
punti_z
Rank 3: Container
Aug 26, 2023, 21:48
I know you are trying to be helpful but I don't think I follow so a function would loop through the list of files returned by listfiles, download them and add them to a zip, all in memory ? Is that the suggestion ?