Comments
-
The Dropbox API does have a general rate limiting system, but we don't have any specific numbers documented (though they're relatively generous). Further, the limits operate on a per-user basis. That being the case, you usually don't need to worry about hitting it in normal use. Also note that not all 429s and 503s…
-
Thanks for the information! I'll follow up here once I have an update on this. That batch upload functionality can improve performance overall, especially when you are seeing contention issues, but it will vary from case to case. It helps by only taking a lock once per batch, as opposed to once per file.
-
Thanks for the report Nick! This may be due to some changes about how we return rate limit/lock contention errors and their Retry-After time windows. We'll look into it, but for reference, can you let me know, to the best of your knowledge, when you started seeing this? Also, does rclone ever submit multiple uploads for…
-
The 'files.team_metadata.write' scope is now available. You can enable it for your app on the Permissions tab on the app's page on the App Console. (Note that it is not available to apps using the "app folder" access type though, as those can't use any team scopes.)
-
To see file deletions over time, you should use the /2/files/list_folder[/continue] endpoints (or corresponding native methods, if you're using an SDK). If you store the latest cursor you receive, and later call back to /2/files/list_folder/continue, the result will include DeletedMetadata entries for items that have been…
-
That link is working. The endpoint URL is cut off, but it looks like you are referring to using /2/files/download_zip, and you're using curl to call it. I see you're setting 'CURLOPT_FILE' to send the result to a local file. You may want to use different curl options to put the result in memory instead of the local…
-
That link is also not working, but in any case, I imagine you're referring to using the /2/files/download_zip endpoint. That returns the zip data for the requested folder in the request body directly. If you want to then return that data directly to the browser accessing your server, you should refer to the documentation…
-
Your link is returning "404 Not Found", so I may not have full context here, but if you're making the Dropbox API calls on your server, you should be able to then return the information from the Dropbox API call down to the end-user of your site in their browser. Exactly how you do so will depend on your particular setup…
-
The filesDownload method in the Dropbox API v2 JavaScript SDK is just a way to retrieve the file data from the Dropbox servers, and doesn't itself interact with your local filesystem. You can access the file data via the fileBinary property like you mentioned, and from there you can do whatever you need with the data, such…
-
We don't have an official SDK for PHP/CodeIgniter, but you can a community library or the HTTPS endpoints for the Dropbox API directly, e.g., to upload and download files as needed.
-
Scoped apps should be working on mobile now.
-
@"maxjct" I can't make any promises myself, but if the feature is not yet available to you, you can reach out to support to ask here: https://www.dropbox.com/support
-
Dropbox does offer an API you can use for listing, uploading, and downloading files, among other operations. You can find everything you need to get started with the Dropbox API, including documentation, tutorials, and SDKs here: https://www.dropbox.com/developers For example, to create a shared link for any file or…
-
Your app needs to call filesUploadSessionFinishBatchCheck occasionally to determine when the batch has finished, and only then proceed with whatever other operations it needs to run based on the result (similar to your other thread, except that you may need to call a few times). That batch operation is happening on…
-
The Dropbox API doesn't expose the ability to get or set these permissions, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.
-
We'll be happy to help with any issues you're having with the Dropbox API, but I'll need some more information. Please reply with: * the name and version number of the platform and SDK/library you are using, if any * the exact steps to reproduce the issue, including relevant code snippet(s) * the full text of any error or…
-
No, there isn't a way to programmatically disable/re-enable webhooks, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.
-
Thanks for reporting this issue. This issue is now fixed and should be working properly. Apologies for any inconvenience this may have caused, and thanks again for bringing this to our attention.
-
No, unfortunately there isn't a way to do this, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though. The closest thing currently is the info.json file, but it doesn't include username or email address.
-
Exactly what would happen if you use the Dropbox API upload functionality to upload files to paths that already exist will depend on the particular parameters you use when uploading. You can find information on the different parameters and the behaviors they will yield in the documentation, such as for the /2/files/upload…
-
There are a number of variables that will affect overall performance of transfers like this, some of which can't be controlled unfortunately. There are some other options that may be helpful though, depending on the specifics of your scenario. If the files do already exist in the Dropbox account and you just need to make…
-
Thanks for writing this up! Regarding the app folder creation: the actual app folder in a connected account does not get created until the account is connected to the app. That is, just creating the app registration won't automatically create the app folder itself. That occurred when you generated a token because that was…
-
You're trying to cast the ListFolderResult itself, which isn't a type of Metadata. You should instead be casting each Metadata object in the ListFolderResult.entries array.
-
This should be fixed now. Please try again and let me know if you're still seeing any issues. Thanks again for the report!
-
This looks like an issue on our side. We're looking into it. I'll follow up here once I have an update on this for you.
-
To check if a particular entry is a file or a folder, you can check the type of the entry, such as by switching on it as shown in this example.
-
Any access token that starts with "sl." is "short-lived", meaning that it will expire after four hours. Did you perhaps change the expiration setting after retrieving the access token? That wouldn't retroactively affect existing access tokens. You can certainly create and use a "Full Dropbox" app from a non-team account.…
-
There are a number of reasons you can get a rate limiting response, e.g., due to the number of calls your app is making, or for other reasons such as other activity on the account or general Dropbox service issues. In any case that you do get one of these though, the best practice is to retry the request, respecting the…
-
If you want to access subfolders as well when listing a folder, you can set recursive:true when calling listFolder. That will make the results include nested entries as well. Alternatively you can call separately to specifically list a particular subfolder, by passing in the path. To do so, get and pass in the…
-
The Dropbox API does not extract and return media information such as artwork and duration for audio files, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though. That being the case, to access this information, you'd need to download the file and extract the desired…