Fernando
Fernando

Reputation: 771

Upload/download a whole folder with dropbox api core

I wanted to know if there's any method in the dropbox api core to upload/download a whole folder.

Currently, I'm uploading/downloading files one by one but wanted to have the possibility of just doing it at once by means of gathering all in a folder and get it in/from dropbox.

I guess I could do so with some for-loop, recurrent calls to a custom method hasSubfolders(), and using metada() and createFolder() method from the DropboxApi object but i wanted to be sure if Dropbox Api enables to use putFile and getFile with folders instead of just a file.

Thanks in advance

Upvotes: 0

Views: 422

Answers (1)

user94559
user94559

Reputation: 60143

There's no built-in method to download a full folder, so you'll have to write a loop.

Upvotes: 1

Related Questions