Greg-DB Dropbox Community Moderator

Comments

  • @"herbarium" * For any file on Dropbox, you can retrieve the FileMetadata, e.g., as returned by files_get_metadata, or directly by files_upload when uploading, etc. The FileMetadata will have two times set for the file: client_modified and server_modified. The server_modified is when the file version was uploaded to…
  • Can you clarify what you mean when you say "the image is not getting loaded in dropbox"? What are you seeing or not seeing exactly? Also, can you share the response you get from /2/files/upload? If the call was successful, it should either contain the metadata of the uploaded file, or if it wasn't successful, an error…
  • Thanks for writing this up. The Dropbox API doesn't offer anything quite like what you describe, but I'll be happy to pass this along as a feature request. To clarify a bit first though, do you mean that you would want the user to be able to go view the file on www.dropbox.com with the Dropbox file viewer web page like…
  • It sounds like you're referring to the 'unsupported_image' error documented for the /2/files/get_thumbnail endpoint (and corresponding native methods in the official SDKs). This error will be returned if the Dropbox API can't convert the requested image file to a thumbnail, such as if the file is too large, or doesn't…
  • When using /2/files/upload to upload a file, the 'path' parameter should contain the full path in Dropbox where you want to store the file, including the file name and extension. It sounds like you want to put the file in the root folder and so just supplied the empty string "" as the path. Instead, you should supply a…
  • @"Himalaya10" This is an old thread regarding this issue on a different platform, so please open a new thread with the details of the issue you're seeing so we can help you specifically. Thanks!
  • Thanks for following up, and apologies for the confusion. Looking at this, I believe you're running in to a particular edge case, where the field names can be misleading. The file for which you're getting the metadata in the first call is actually in a (different member's) home namespace, not a shared folder. Due to some…
  • Using the Dropbox Saver would be the easiest way, but as you found, the Dropbox Saver isn't supported in Chrome for iOS unfortunately. I'm sending this along as a feature request for support for the Saver in Chrome for iOS, but I can't promise if or when that might be done. The alternative would be to use the Dropbox API,…
  • I'm not sure I understand your question. Can you elaborate on what you're trying to do? The term "team member management" is the name of one of the Dropbox Business API access types. That's a property of a Business API app you select when first registering the Business API app, not something you would invite other members…
  • Desafortunadamente, la API de Dropbox actualmente no ofrece la capacidad de establecer un enlace para no permitir descargas, como las ofertas del sitio web, pero pasaré esto como una solicitud de función. Sin embargo, no puedo prometer si eso podría implementarse. --- Por favor disculpe nuestras traducciones. Nuestras…
  • The /2/files/get_temporary_link endpoint is an RPC-style endpoint, so it expects the API call parameters as JSON in the request body. In the code you shared, you're actually sending the parameters in a header named 'data'. You'll need to fix your code to send them in the request body, like: $parameters = json_encode( array…
  • Dropbox and the Dropbox API do offer the ability to upload files, so this should be possible. If you want to do this just from the Dropbox app itself, without using the Dropbox API yourself, you should look into setting up shared folders as needed and inviting the…
  • As you saw, the 'Dropbox-API-Select-Admin' header supports two different "modes": "Whole Team" and "Team Admin". These aren't something you can choose between on the client side though. Each API endpoint is written to support one of the modes, and you can't change which mode that is from your app. You can check which mode…
  • Thanks for following up. I'm glad to hear you already sorted most of this out. * The PropertyType.other option is just a catch-all for forwards compatibility with any potential new PropertyType fields. It's not actually something you can use as an alternative to PropertyType.string. Currently the Dropbox API only supports…
  • Can you clarify where you see "the documention, wich clarifies that this EP supports Select-Admin with a "whole team" permission"? The documentation for /2/sharing/get_file_metadata lists "User Authentication, Dropbox-API-Select-Admin (Team Admin)" under "AUTHENTICATION". That's indicating only support for the "Team…
  • You can find information about any breaking changes in the release notes in the release history here: https://github.com/dropbox/dropbox-sdk-obj-c/releases For example, there were some breaking changes with release v3.0.0. I'm not sure I know exactly what functionality you're referring to from v2.0.6 though.…
  • Thanks for the report! I see you also opened a support ticket with some more information so we'll follow up with you there.
  • @"densko" No, unfortunately I don't have any news on this.
  • It sounds like your team is set up to use the "team space" configuration, so you shouldn't use the /2/team/team_folder/* endpoints. To create a folder in the team space, you should use the /2/files/create_folder_v2 endpoint. That's CreateFolderV2Async in the .NET SDK. Please refer to the Namespace Guide for information on…
  • You can use the list_folder endpoints to list both private member folders as well as the team space. Check out the Namespace Guide for information on how to specify which you want to list. (In short, you do so by specifying the relevant value in the 'Dropbox-API-Path-Root' header.)
  • If you're using the Dropbox API v2 Java SDK: a) to get a direct link from which you can download a file, you can use the getTemporaryLink method. b) to download a file directly as a stream, you can use the download method. That will give you a DbxDownloader. The example there shows how to get a stream to read the data.
  • That response indicates that the team is using the "team space" configuration. In that case, you can just use the /2/files/list_folder[/continue] endpoints to list the team folders in the team space (instead of /2/team/team_folder/list[/continue]). You can find information on how to do so in the Namespace Guide.
  • If you need to add anything after you submit the production request, please send it via an API ticket using this form: https://www.dropbox.com/developers/contact Just be sure to let us know which app it's for. Thanks!
  • Thanks for the report. I'll be happy to help with this, but I could use a few points of clarification: * What do you mean exactly when you say "the process to freezes up"? How are you checking this and what exactly do you see? Also, depending on the size of the file and your network connection, it may take some time to…
  • While Dropbox does offer an API you can use for listing, uploading, and downloading files, among other operations, it doesn't have any native integration with third party CDNs. If you're interested in building on the Dropbox API, you can find everything you need to get started including documentation, tutorials, and SDKs…
  • @"dirkholtwick" Unfortunately I don't have any news on this.
  • It sounds like you're referring to using the Dropbox API v2 .NET SDK. The documentation for the DownloadAsync method can be found here. That does offer the ability to access the requested file data as a stream from DownloadAsync. On the resulting IDownloadResponse, use the GetContentAsStreamAsync method.
  • The Dropbox API does offer the ability to programmatically search in the connected account, with a number of different options. You can find more information in the documentation here: https://www.dropbox.com/developers/documentation/http/documentation#files-search You can specify the query, such as a file or folder name…
  • Yes, that's correct. I recommend reading the OAuth Guide for a high-level reference of how this works. The web-file-browser example app can show it working in an actual app you can run locally.
  • Exactly how your web request/response handling code will look and work will depend on what web framework you're using, so you'll need to write the relevant code for your app. I recommend trying out the working web app example for a sample of how this would work though. The instructions for running the examples can be found…