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

ShinehahGnolaum's avatar
ShinehahGnolaum
Helpful | Level 7
7 years ago

filesListFolder

 

I found old code at GitHub/SwiftyDropbox/PhotoWatch:

 

 
 if let client = Dropbox.authorizedClient {

       // List folder
        client.filesListFolder(path: "").response { response, error in
            if let result = response {
                println("Folder contents:")
                for entry in result.entries {
                    println(entry.name)
                }
            } else {
                println(error!)
            }
        }

}

I figured out that the first line should be:

if let client = DropboxClientsManager.authorizedClient {

But I can't find documentation for the rest.

 

I just want to be able to itemize the files in the user's iOS SwiftyDropbox app and work my way forward from there.

 

Can somebody help me?

 

!!! I FIGURED IT OUT. I'M NOT ABLE TO DELETE THIS POST!!!

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,883 PostsLatest Activity: 3 hours ago
326 Following

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 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!