andreafabrizi / Dropbox-Uploader

Dropbox Uploader is a BASH script which can be used to upload, download, list or delete files from Dropbox, an online file sharing, synchronization and backup service.
https://www.andreafabrizi.it/2016/01/01/Dropbox-Uploader/
GNU General Public License v3.0
6.56k stars 1.08k forks source link

File list truncated if large #542

Open mattmaltarich opened 3 years ago

mattmaltarich commented 3 years ago

Hi, I noticed that if I have too many files in a particular folder, the list command will be truncated. It seems that upon retrieving the list, you can check for a variable called ListFolderResult.has_more. If the result’s ListFolderResult.has_more field is True, call files_list_folder_continue() with the returned ListFolderResult.cursor to retrieve more entries. Would it be possible to update the code so that it checks for this "has_more" variable?

I found reference to this issue here: https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Re-Retrieve-with-a-File-limit-and-File-count/td-p/383396

thank you!

-Matt