Your workflow is unique 👨💻 - tell us how you use Dropbox here.
Forum Discussion
808phone
8 years agoExplorer | Level 4
Folders with lots of files failing
When I call listFolder like in the example code, *response is often nil.
This only happens with large numbers of files (over 1800, with some people 3000+ files).
DBFILESListFolderResult *resp...
808phone
8 years agoExplorer | Level 4
So the problem is that I created 2 different calls. One for folders only and another for files. Apparently if there are enough files and it takes long enough, having the 2 calls at the same time will cause problems. I guess they cannot run concurrently without something happening. If I use just one routine, it works but is considerably slower than V1 I think.
Greg-DB
Dropbox Community Moderator
8 years agoIf response is nil, make sure you check the routeError and networkError. One of them should contain an error message.
In any case, yes, you shouldn't make multiple concurrent listFolder[Continue] calls. A single listFolder[Continue] loop will return both files and folders under the requested path.
In any case, yes, you shouldn't make multiple concurrent listFolder[Continue] calls. A single listFolder[Continue] loop will return both files and folders under the requested path.
- 808phone8 years agoExplorer | Level 4
Greg,
The routine is much slower than V1 as well. The callback takes much longer. Is there going to be any improvement on this?
- Greg-DB8 years ago
Dropbox Community Moderator
I can't make any promises, but I'm sending this along to the team as a request to improve performance here.
About Dropbox API Support and Feedback
Get help with the Dropbox API from fellow developers and experts.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!