
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 ?

You'll need to download the files one by one: https://appwrite.io/docs/server/storage?sdk=nodejs-default#storageGetFileDownload

You had mention in a post a while back that one could write a function to zip files, that not possible ?

Sure, you can download one by one and add each to a zip

Then upload to a bucket to be downloaded

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 ?
Recommended threads
- Limit File Upload count?
Is there a way to limit the number of files a user can upload? I know there's a limit of file size but in my case I'd like to limit the user to only upload x am...
- File upload/creation error on console an...
Hi, I'm on a fresh install of appwrite latest version 1.7.4 (self-hosted) Everything work great except for file creation on buckets, which always fail with gene...
- Explore uploaded images directly from lo...
Is there any option to explore/dwonload uploaded files to from local machine? I connected through WinScp to my vps and to files from docker volume 'appwrite_app...
