Greg-DB Dropbox Community Moderator

Comments

  • Thanks for pointing that out! I'll ask the team to update the documentation to clarify that.
  • To list every file and folder, you can use the "recursive" option for list_folder. E.g., with the Python SDK, call files_list_folder with path="" and recursive=True. Make sure you also keep calling back to files_list_folder_continue if/as necessary, as indicates by the has_more value in the result.
  • To change the password for an existing shared link for a folder, e.g., created via create_shared_link_with_settings, you should use modify_shared_link_settings.
  • That's the expected behavior. Downloading the root folder is not supported unfortunately, but I'll pass this along as a feature request. 
  • @"Jaryn" No, I don't have an update on this yet.
  • Is the namespace ID for a "team space"? If so, you will need to use the the Dropbox-API-Path-Root header to access it. (If not, please open an API ticket with details so we can check on this for you.)
  • You're missing a few parameters that are necessary for the /oauth2/authorize page. (You should be getting a detailed error message at the bottom of that page when you access it like this.) You can find the full documentation for the required and optional parameters here:…
  • @"NLOG" The user will always need to sign in to Dropbox in order to authorize your app. That applies to your own account, e.g., when signing in to Dropbox to access the app's page on the App Console to use the "Generate" button, or other end-user accounts, when using the OAuth flow. Access tokens don't effectively expire…
  • Hi, thanks for the post! Dropbox offers an API you can use to upload and download arbitrary files, and while Dropbox of course works to maintain a high level of security, ultimately the decision to use Dropbox (or not) for any particular scenario is up to you as the developer. We can't provide general legal or security…
  • Can you let me know how you're checking that the folder for this ID is not deleted? If you supply the ID itself, that may be helpful. You can open an API ticket if you'd prefer to share the details privately: https://www.dropbox.com/developers/contact
  • This URL is returning the response header: Content-Encoding: base64 This content encoding is not supported by the Dropbox Saver system, so you won't be able to use this as-is to save the file to Dropbox. If you control the server, you can reconfigure it to not use this content encoding, and use deflate or gzip instead (or…
  • Thanks! I'll ask the team to update that accordingly.
  • Where exactly is the deprecated method usage that you're referring to? I'll ask the team to update that. Anyway, there's a sample of listing items in a folder here:…
  • @"Manotai M." If you're having trouble with Dropbox itself, you can contact support here: https://www.dropbox.com/support [This thread is now closed. If you have a similar or new question, you can ask here]
  • No, unfortunately there isn't a way to do this directly. I'll send this along to the team to request a way to do so. As a (non-ideal) workaround, you could download the file using get_shared_link_file, and then re-upload it to the receiving account.
  • (Apologies, I posted earlier under the mistaken impression that you were using the Python SDK, not the JavaScript SDK. Please disregard the earlier comment.) It sounds like the user is on a team with the new team space configuration. There's more information about this in the Namespace Guide. The API v2 JavaScript SDK…
  • It looks like you're using a third party HTTP client, and not one of our official SDKs, so we can't offer help with how to construct the call with your client. That said, looking at your code, you don't appear to actually be using your `req` object. You probably need something like `HTTPResponse res = h.send(req);`. I…
  • To use the Dropbox API via JavaScript, we recommend using the official Dropbox API v2 JavaScript SDK. Creating a folder with that can be done similarly to the filesListFolder example (which is written for Node). It would look like this, using the filesCreateFolderV2 method: (written for browser JavaScript, assuming the…
  • 1. If you have a shared link to a file, you can download it directly. Note that the link you shared in your code though points to the HTML preview page for the file, not the file data itself, so your code won't work as is. You can modify these links to point to the file data though, as documented here:…
  • The Dropbox OAuth 2 app authorization implementation supports two different flows: - the "code" flow: this flow requires both the app key and secret - the "token" flow: this flow only requires the app key The `DropboxOAuth2FlowNoRedirect` class in the Dropbox Python SDK uses the "code" flow, so it requires the app key and…
  • All Dropbox API connections require TLS. (Specifically, the Dropbox API servers currently support TLS 1.0, 1.1, and 1.2.) In the API v2 Objective-C SDK, we use `NSURLSession` to make the connections:…
  • As long as you've clicked the "Enable additional users" button on the App Console already (which it sounds like you have), you don't need to do anything else on the App Console to add other users explicitly. In order to have other users connect their own Dropbox accounts, you should implement the OAuth 2 app authorization…
  • There's a basic example of uploading using the filesUpload method in the SDK here. You can supply a `mode` parameter, which takes a FilesWriteMode object, to specify the write mode you want. You can choose 'add', 'overwrite', or 'update'. The 'overwrite' mode will always overwrite an existing file, but the other modes are…
  • What version number of the Dropbox SDK do you have installed? The SDK doesn't have a `Dropbox.authorizedClient`, just `DropboxClientsManager.authorizedClient`. (If you're not running the latest version, currently v4.5.0, please upgrade and try reproducing the issue again.)
  • The official Dropbox API v2 JavaScript SDK is available on npm, and offers the ability to read/write/overwrite files in Dropbox via Dropbox API v2.
  • @"ShawnLyu" It's not possible to create more than one distinct shared link per single file or folder, but I'll pass this along as a feature request. That being the case, you'd need to either use the same shared link for each client, or make a copy of the file or folder for each client (and make a shared link for each copy).
  • Can you check if `client` is `nil`? It looks like you maybe meant to use `DropboxClientsManager.authorizedClient` instead of `Dropbox.authorizedClient`.
  • No, I'm afraid there isn't a way to list all documents, including those that you have neither accessed nor created, via the Paper API, but I'll pass this along as a feature request.
  • Yes, that request is still open, but the team has not implemented this. I'm afraid I'm not aware of any current plans to do so and I can't promise that it is something they will work on in the future.
  • Thanks for the clarification and feedback! We don't have a drop-in replacement like that unfortunately, but I'll pass this along as a feature request.