Comments
-
@"elsigh" The first one is incorrect because this endpoint doesn't support file IDs in that `path` parameter. (If it did though, you would supply just the "id:..." string, without a leading slash.) The second one is correct, and it works for me. Can you share the full output you're getting? (Make sure to use both `then`…
-
The single upload calls, i.e., the non-upload session methods such as uploadUrl, are not meant for use over long periods of time, as they operate using only a single HTTPS request. If you need to manage an upload over a long period of time like this, upload sessions would work better. You can store the upload…
-
Unfortunately, I can't offer any specific guidance on what the real world performance would be. It would depend on a variety of factors, and may change over time as well anyway.
-
@"CatalystCSLtd" Team admins can check their team's current upload API usage here: https://www.dropbox.com/team/admin/billing/manage Note that if the team is currently on an unlimited plan, that number will not be updated.
-
What was in the HTTPS response? It should either contain an error or the result. Also, I redacted it for you, but you should revoke that access token since you posted it publicly. It looks like you already figured out how to get an access token, since you posted one, but for reference, the OAuth guide goes over how to.
-
To download a file from a shared link for a folder using the JavaScript SDK, use the sharingGetSharedLinkFile method. You should supply the original shared link, i.e., the same URL you passed to filesListFolder, as well as the relative path for the particular file in the folder you want to download.
-
There isn't a limit, but note that the results from /2/files/search are subject to a delay due to indexing, so results for new files/file versions will not be instantly available. The length of the lag will vary account to account, and is likely to be larger if there are many files or a lot of file activity.
-
In order to list the contents of a folder, you should use /2/files/list_folder and /2/files/list_folder/continue. It sounds like you're referring to using .NET, so we recommend using the official API v2 .NET SDK. It has corresponding ListFolder and ListFolderContinue methods. If can't or don't want to though, you can make…
-
What do you mean exactly when you ask "how can these be persisted?" Once you have that DBUploadTask, you can call suspend, resume, or cancel if/when desired. You can keep that object whever you want, e.g., as a property of the controller. [thisTask suspend]; ... [thisTask resume]; ... [thisTask cancel]; Also, note that for…
-
The Dropbox Saver doesn't support blob URLs, but I'll pass this along as a feature request.
-
I don't have any news on this unfortunately, nor am I aware of any current plans to implement it. I'll add your vote to the request.
-
This is for the forum for help using the Dropbox API, but it sounds like you're using the local filesystem and Dropbox desktop client, not the Dropbox API, so I'm afraid I can't offer help. If you're looking for help with scheduling jobs on Windows and manipulating the local file system, I recommend referring to the…
-
Thanks for writing this up! We appreciate the time and detail. Yes, while the Dropbox API has a general rate limiting system (meant to prevent abuse), you're correct that (some) Business plans additionally have a 25k per team per month API limit on upload calls. This does not apply to any individual plans. It only applies…
-
Apologies, it looks like this thread was caught by the spam filter for some reason. I've restored it. I see you posted a new thread for this, so I've closed this one in favor of the new one: https://www.dropboxforum.com/t5/API-support/dropbox-API-call-upload-limits-confirming-some-things-and/m-p/269680
-
Thanks for the report! I'll bring this up with the team.
-
We can't offer much help with Node itself or using pipes in Node in particular, but for reference, the Dropbox API /2/files/upload endpoint returns the uploaded file metadata as JSON in the HTTPS response body. Exactly what you do with that and how you handle it is up to you, so you may be better helped by asking for…
-
1: This sounds more like a product decision, so we can't offer a "right" answer. For comparison, Dropbox has to deal with essentially the same scenario. That is, when both the local and remote copies of a file have changed before the file could be synced. Dropbox creates "conflicted copies" in this case, in order to make…
-
The correct Content-Type should be returned now, even when using file ID. Hope this helps!
-
Thanks for the request! I can't make any promises, but I'm sending this along to the team.
-
It's not possible to cancel an ongoing request instantly unfortunately, but the long poll request will eventually close or time out on its own. I'll pass this along as a feature request for actual CancellationToken support in the SDK though.
-
@"DSnopov" The sharingCreateSharedLink method is deprecated, so we don't recommend using it. However, we don't currently have a timeline for when it will be retired.
-
@"mark2mark" The forum flagged your post as spam for some reason. I restored it. Thanks!
-
The Dropbox PHP you're using here uses API v1, which is retired, so it will no longer work: https://blogs.dropbox.com/developers/2016/06/api-v1-deprecated/ You'll need to migrate to API v2. We don't have an official PHP SDK for Dropbox API v2, but you can use a third party library:…
-
1. Die Dropbox-API Version 1 wurde eingestellt und nicht mehr verwendet. Daher kann sie nicht mehr verwendet werden. Dropbox API v2 ist der Ersatz, und es bietet auch die Möglichkeit, Dateien über die Kommunikation mit den Dropbox-API-Servern programmatisch hochzuladen und herunterzuladen. Wir haben verschiedene offizielle…
-
A RetryException can be raised for a variety of reasons. In any case though, when your app receives one, it should just retry the API call as documented. If you're unexpectedly/persistently getting this when you don't think you should be though, please share the details, e.g., the steps to reproduce the issue, so we can…
-
The Dropbox Chooser does not return an access token, nor does it use the OAuth app authorization flow at all. Instead, it returns to your app information about the selected file(s), including links to the file data. There's more information about this in the documentation here: https://www.dropbox.com/developers/chooser In…
-
The API was designed with the intention that each user would link their own Dropbox account, in order to interact with their own files. However, it is technically possible to connect to just one account. The SDKs don't offer explicit support for it and we don't recommend doing so, for various technical and security…
-
Thanks for pointing that out! I'll check in with the team on this discrepancy and follow up here once I have an update on this.
-
The Dropbox API doesn't offer that functionality, but I'll pass this along as a feature request.
-
API calls can fail with a generic HTML page like this if the server doesn't recognize the HTTP request as an API call. Is the sample HTTP request you shared exactly what's actually being sent? If so, it's not valid because it's missing the HTTP version (i.e., "HTTP/1.1") at the end of the first line. Also, in the sample…