Comments
-
It sounds like you're referring to the new "team space" configuration, where member folders are mounted underneath the team space (instead of the old way of having team folders mounted underneath member folders). Shared folders can be mounted under either the team space or member folders. You can find more information on…
-
@"Здравко" Thanks for the feedback! Yes, I've filed this as a feature request for an official API for checking the client programmatically.
-
Thanks for sharing that additional information @"Здравко" . Please note though that that socket itself is not officially documented and is not considered an officially supported API for third parties to use to interact with the Dropbox desktop client, so I can't recommend using it. (It's meant for the dropbox.py script we…
-
Здравко is correct, you can't force or predict this. You need to always check hasMore and call back if needed. For reference, you can find the corresponding documentation for the Objective-C SDK in particular under listFolder and listFolderContinue.
-
@"BIMcollab" As Здравко mentioned, you can direct the user to https://www.dropbox.com/logout at any time to log them out of the Dropbox web site. Make sure you do so with the user's understanding though, as forcibly logging them out without their knowledge may be confusing or disruptive to them. Or, you can use the…
-
@"viskin" No, I don't have any news to report here. The deprecated 'include_media_info' functionality on /2/files/list_folder is still planned for retirement shortly, and we don't have a batch version of /2/files/get_metadata available.
-
@"Chhavi" Downloading file content via the Dropbox API works the same way, regardless of file type. You can use the /2/files/download endpoint to download file data whether the file is a .xlsx or any other type. Exactly what you then do with the data is up to you. For example, you may wish to open the data in a document…
-
Unfortunately, I don't have a good solution to offer here. Listing the contents of a folder via a shared link using the API requires an access token, and would be subject to that potential rate limiting. The API doesn't offer an alternative way to anonymously programmatically list the contents of a folder from a shared…
-
@"overlookmotel" Thanks for the feedback. I've shared this with the team, and I will follow up here with any update on this.
-
Please keep in mind that undocumented/private APIs are subject to change without notice, and so should not be used by third party apps.
-
@"caseyprovost" In order to upload to Dropbox via the Dropbox API, you need to upload to some particular user account. If you don't need to connect to arbitrary end-user accounts, and are just connecting to your own account, for instance, you don't need to build the app authorization flow and UI. You can just get your own…
-
It looks like you're already on the right track here. If you want to list everything under the root, you start by calling ListFolderAsync with the empty string as the 'path'. If you want to get nested entries too, you should set the 'recursive' parameter to true. Either way, ListFolderAsync isn't guaranteed to give you…
-
The upload method you're using only officially supports files up to 150 MB. If you need to upload larger files, such as the 24 GB file you mentioned, you'll need to use upload sessions, like you said. You can find an example of doing so in the official Dropbox API v2 Java SDK here:…
-
@"Anuj-" I can't make any promises, but I'll send your note on the urgency along to the team.
-
The thumbnail links returned by the Chooser currently expire after four hours, at which point accessing them will fail with this 410 error. There isn't a way to get permanent thumbnail links from the Chooser, but I'll ask the team to update it to offer this, or at least better document this.
-
@"omrika" I'm not sure I follow your question. I'll be happy to help, but I'll need some more information. Also, this is an old thread, so in order to not spam the original author here, please open a new thread with the details of the issue you're seeing: https://www.dropboxforum.com/t5/forums/postpage/board-id/101000014…
-
@"ccoplestone" I just gave your download handler code a try (with the official Dropbox API v2 JavaScript SDK), and it worked fine for me to download a multiple page PDF without corruption: var fileName = "Getting Started.pdf"; dbx.filesDownload({path: "/" + fileName}) .then(function(response) { var blob =…
-
@"Developer_" I just gave this a try and it seems to be working correctly for me. Can you share some sample calls/output showing the issue so we can take a closer look? Also, so that we don't spam the original author on this thread (they seemed to be asking about different "path" errors anyway), please open a new thread…
-
Dropbox does not offer an API for the Dropbox Transfer feature, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.
-
@"Anonymous" The Dropbox API doesn't guarantee a particular ordering of folder list results, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though. Like Здравко said, you can apply whatever ordering you want in your application code.
-
@"Sparsh C." Здравко is correct. There are a number of different variables behind the scenes that can affect this behavior, and it's not possible to predict if/when multiple pages will be used.
-
The token you get back after authorizing the app is called an "access token", and is specific to that particular app-user pair. Access tokens for your app don't expire by default, so once the app receives one, you can have it store and re-use it, so it can make API calls in the future for that user without further manual…
-
Apologies for the confusion! This is the expected behavior. Before user B "accepts" or "mounts" the shared folder, they will have the right to access to (hence the returned "access_type"), but won't actually be able to do so, since the content hasn't yet been added to their account. You can detect this from the…
-
@"Chakradhar" Thanks for following up with this additional information. Since the API is replying with has_more:true in that case, you will need to call back to get the rest of the entries. There isn't a way to control this and make the API always return all of the entries in one page. There are a number of different…
-
@"Anuj-" Unfortunately, I don't have a timeline for a fix for this. I'll follow up here once I have an update on this.
-
Thanks for the additional information and feedback! I've added this to the request to make it easier to discover and navigate the documentation.
-
I'm sorry to hear about the trouble you've had with the Dropbox API and documentation. Thanks for taking the time to write up and share this feedback. I'll pass this along to the team. In the other thread, I see you had some trouble with DownloadAsync, for example. Apologies for the confusion! To clarify, when browsing…
-
@"snaidamast" Thanks for the additional detail! I see you opened a new thread so I'll follow up with you there.
-
The files_download method gives you a requests.Response object that you can read from, optionally in pieces, without downloading the entire file to your local filesystem. For example, you might want to read it a piece at a time, like: metadata, f = dbx.files_download(path) for partial_data in…
-
Thanks for following up. I just gave that sample a try myself, and it worked fine for me. I was able to upload multiple files of various sizes correctly. Can you let me know more about where/how you're running this? For the example, did you follow the instructions here for running it? And for your own code, what…