Comments
-
Sure, you can use this by setting the "Range" header. You can find information on the syntax in the spec. For example, here's a call that would download only bytes 0 through 5: curl -X POST https://content.dropboxapi.com/2/files/download \ --header "Authorization: Bearer <ACCESS_TOKEN>" \ --header "Dropbox-API-Arg:…
-
No, unfortunately the SDK doesn't offer a way to bypass that flow, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.
-
@"Lito" Thanks for the note! I'll follow up here once I have an update on this issue.
-
@"Moodle FHS" Can you double check that you're using the app key for the particular app for which you've enabled the necessary scopes? If you'd like help troubleshooting your app, you can open an API ticket here so you can share the details privately if you'd like.
-
Thanks for following up with the additional feedback. By the way though, since Dropbox enforces TLS (i.e., it will redirect any http:// shared link URLs to https://), I believe you can technically rely on TLS to ensure integrity of the download against any corruption in transit. The TLS specification states: The primary…
-
Thanks for writing this up. Unfortunately, Dropbox currently doesn't offer an API for Dropbox Transfer, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.
-
Dropbox does offer an API you can use for programmatically listing, uploading, and downloading files, among other operations. If you're a developer and wish to build this kind of integration, you can find everything you need to get started with the Dropbox API, including documentation, tutorials, and SDKs here:…
-
The /2/files/create_folder_v2 endpoint that the files_create_folder_v2 method uses only supports the Dropbox-API-Select-Admin "Team Admin" mode, meaning: The endpoint can access content of team folders but not team member's private files. Since you're using "as_admin", that's setting the "Dropbox-API-Select-Admin" header,…
-
@"homedeck" No, unfortunately I still don't have an update on this feature request. I'll follow up here if/when I do. I can't connect you directly with engineering, but if you have any questions or issues regarding the Dropbox API you can always open an API ticket here.
-
This appears to indicate that the Dropbox library wasn't successfully loaded. Were you able to add it as instructed in my earlier comment? Did the Gradle sync complete successfully after that?
-
I see you also opened a support ticket for this, so we'll follow up with you there.
-
Ok, in that case we'll have to look into it further. I do still recommend adding some more logging though. The comparison with Google Drive may not be exactly representative since that may use a different mechanism than the Dropbox SDK.
-
Thanks for the additional information. I don't know off hand what may be causing that, and I can't reproduce that behavior myself using that same code. We'll have to dig into it further. You may be able to get some more logging output using: Logger.getLogger("").setLevel(Level.ALL); final java.util.logging.ConsoleHandler…
-
Thanks! That's the same as my test setup though, so I'm still not sure why you're seeing a different behavior. I see you included a line for defining your client object ("private let client..."), but where exactly are you running that? The issue may be related to the lifecycle of that object. If it's no longer available,…
-
Thanks for the additional information. I just tried reproducing this with the code you provided. While I also see the progress reporting stop when the app is sent to the background, if I then bring it back to the foreground the download does then resume and complete. Can you let me know how long you're leaving the app in…
-
Thanks for sharing this! I don't have update on this feature request unfortunately, but I'll share this with the team.
-
Thanks for the report. This isn't occurring for me, so we'll need to narrow this down. Can you let me know: * Is this only occurring when retrieving the information for one account in particular, or does it also happen for other accounts? * Is this occurring for other methods as well?
-
It looks like this is a duplicate of: https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/I-am-getting-error-in-uploading-files-in-dropbox/m-p/466843 Regarding the Windows "global assembly cache", I can't offer help with that in particular as that's not made by Dropbox, but the instructions for that seem to be…
-
Thanks for the report! This looks like a bug on our side. We're looking into it and I'll let you know when we have an update on it.
-
@"deebee_it" Based on the output you shared, it seems like the Dropbox servers weren't able to recognize your HTTP request as a valid API call. As Здравко said, it may be helpful to know what your 'MYPATH' value is. Can you print out the entire HTTP request (redacting the access token) so we can see what may not be…
-
I'm closing this as a duplicate of: https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Downloading-in-the-background-in-iOS-Swift/td-p/467860
-
@"tomeumasco" Thanks for the note. I'll share this with the team.
-
I see you're now attempting to run the "authorize" example, and are trying to do so via a "run" command. That's actually referring to this "run" file which is a bash script, so you'd need to be running in an environment that can run bash scripts (such as cygwin). If you're just trying to build an Android app though,…
-
You can get the namespace IDs for the team space and team member folder by calling /2/users/get_current_account. Please refer to the Team Files Guide for more information.
-
@"rm2020" Thanks for the additional report. The team is aware of the issue and is looking into it. I recommend switching to using paths instead of IDs when calling /2/files/search_v2 to avoid this error.
-
Are you using one of the official Dropbox SDKs? If so, which one? The API itself does support "Range Retrieval Requests", e.g., on /2/files/download, but not all of the SDKs implement that.
-
@"AlexanderKriss1" No, unfortunately I don't have any update on this requets.
-
Thanks for the report. First, can you let me know the version number of the SwiftyDropbox SDK you're using? Also, when you say "the download stops", do you get any error or output? And, do you get any result when you return to the app?
-
That's correct. You can also use files_list_folder and files_list_folder_continue to list the contents of any folder. For example, to list the contents of the root folder for your app, supply a path value of the empty string "". Then you can get the path values of any of the contents from the Metadata.path_lower value for…
-
If your team is using the "team space" configuration, the contents of the team space won't be individually listed by that endpoint. You should instead list the contents of the team space using /2/files/list_folder[/continue] with the 'Dropbox-API-Path-Root' header. You can find more information on the different…