How to check a folder exists in DropBox using DropNet <p>I'm programming an app that interact with dropbox by use DropNet API. I want to check if the folder is exist or not on dropbox in order to I will create one and upload file on it after that. Everything seen fine but if my folder is exist it throw exception. Like this:</p> <pre><code>if (isAccessToken) { byte[] bytes = File.ReadAllBytes(fileName); try { string dropboxFolder = "/Public/DropboxManagement/Logs" + folder; // I want to check if the dropboxFolder is exist here _client.CreateFolder(dropboxFolder); var upload = _client.UploadFile(dropboxFolder, fileName, bytes); } catch (DropNet.Exceptions.DropboxException ex) { MessageBox.Show(ex.Response.Content); } } </code></pre>