You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.
Forum Discussion
harrycallard
4 years agoNew member | Level 2
Can't download file using files_download_to_file
This is really starting to be a pain.
I can't seem to get the correct directory of my file. I'm trying to download a file from my DB using the files_download_to_file() function.
I'm trying to...
kylea
4 years agoDropbox Staff
This is the Python SDK, correct?
calling print(dbx.files_list_folder("")) will show the full ListFolderResult object.
To iterate over the results and print just the path, you'll want something like this:
res = dbx.files_list_folder("")
for entry in res.entries:
print(entry.path_lower)
That will return valid paths that you can use with the files_download_to_file call.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,882 PostsLatest Activity: 23 hours agoIf 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 or Facebook.
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!