Comments
-
That endpoint returns the file context in the response body. What your app does with that response is up to you. I.e., you can have it read it into memory and do something with it there, or you can save it to a local file. Here's an example that tells curl to save it to a local file:…
-
If you're using the API v2 Objective-C SDK (which is recommended), the equivalent of the loadFile method would be any of the download methods. You can find a sample of calling those here: https://github.com/dropbox/dropbox-sdk-obj-c#download-style-request As well as in the example app:…
-
Thanks! We're working on it.
-
@"cdemiris99" (or anyone else), please open an API ticket with affected user ID samples so we can track down any remaining issues: https://www.dropbox.com/developers/contact Thanks!
-
How are you printing this output? The API itself should be be returning valid escaped unicode characters where applicable. I just tried it myself using the filenames you supplied, and I'm seeing these pieces of raw output, for the respective file names (using curl): "name": "u3042u3044u3046.txt" "name":…
-
Looking over your code, there are a few things that should be fixed: - When specifying the root folder, you need to use the empty string "", not "/". - You'll need to POST (CURLOPT_POST) not PUT (CURLOPT_PUT). - You should not turn off SSL verification if possible. - The parameters must be passed as JSON in the HTTP…
-
Hi @"David M.301", no, unfortunately I don't have any news on potentially offering the API v2 Objective-C SDK as a .framework download. I don't believe the team has plans to do so right now. I'll add your vote to the feature request. For reference, one of the developers added some information about this to this GitHub…
-
Hi Nick, no, unfortunately you can't upload multiple chunks for the same upload session in parallel. Each upload session only has a single correct "offset" at any one point in time, and it has to match when you upload any chunk. You can run multiple different upload sessions (i.e. for multiple different files) though. I…
-
This error indicates that the domain you're trying to use the Chooser/Saver on hasn't been pre-registered as a Chooser/Saver domain on the app's page on the App Console. Note that "OAuth 2 redirect URIs" are different from "Chooser/Saver" domains. Only "Chooser/Saver" domains are relevant if you're using the Chooser/Saver.…
-
@"BranchSolutions" Please open an API ticket with the affected user ID(s) so we can check on this for you: https://www.dropbox.com/developers/contact
-
I can't seem to reproduce this using that code, but a TaskCanceledException can occur of the connection times out. How long does it take before this exception occurs for you? Is there anything that may be interfering with your connection to api.dropboxapi.com?
-
Hi David, thanks for the post. Unfortunately, there isn't a good solution to this right now. File IDs were introduced to help with issues like this, but as you mentioned, list_folder doesn't currently support file IDs. You could also keep track of a list_folder cursor for the entire account structure (i.e., list_folder on…
-
Thanks for the report Steve. I just tried this though, and it's not reproducing for me. To help us track this down, please let me know: - Are you seeing this on physical devices (if so, which) and/or the simulator? - What version(s) of iOS are you seeing this with? - Is there anything potentially intefering with your…
-
Using the API v2 .NET SDK, you can manage property templates using the properties methods in TeamTeamRoutes. For example, you can add a property template using PropertiesTemplateAddAsync. Note that these methods are only available to Dropbox Business API apps. You can then manage properties for those templates on specific…
-
(Apologies for the delay. It looks like there was an issue with the form, and your post wasn't showing up before.) Yes, I think that while loop might cause this. The response block runs asynchonrously, and on the main thread: https://github.com/dropbox/dropbox-sdk-obj-c#specify-api-call-response-queue If I understand…
-
@"bobbie424242" In that case please open an API ticket including the relevant code, output, and affected user IDs so we can look into it for you: https://www.dropbox.com/developers/contact
-
@"bobbie424242" Your code only shows you using listFolderBuilder, but you'll also need to use listFolderContinue to get all of the results. You can find more information in the documentation for listFolder orlistFolderBuilder.
-
This is fixed now. Calls to list_folder/continue will now return the latest entries. Please let us know if you're still seeing any issues.
-
This is fixed now. Calls to list_folder/continue will now return the latest entries. Please let us know if you're still seeing any issues.
-
You don't need to clear old tokens that failed to migrate. There's no harm in having them stored. (The clearStoredAccessToken method would only clear tokens for the current SDK, not the old ones, anyway.)
-
[Cross-linking for reference: https://stackoverflow.com/questions/44518469/overwrite-option-for-dropbox-filesupload-javascript-api ]
-
The team worked on a fix, but unfortunately it looks like it will take a little longer to get deployed than originally anticipated. The fix should be live tomorrow.
-
The team worked on a fix, but unfortunately it looks like it will take a little longer to get deployed than originally anticipated. The fix should be live tomorrow.
-
"The solution for mapping old account IDs (uid) to new account IDs (account_id) seems to be a proactive call to the V2 API with an existing token to retrieving account_id. Is this correct?" That's correct, you should call /2/users/get_current_account with the existing access token to get the account_id. "Does this mean…
-
Can you share the code that reproduces this, so we can make sure we understand the issue? Thanks in advance!
-
If you're using the 'Manually add subproject' installation method, the Dropbox framework does get built both when running carthage, as well as when you build in Xcode. I believe these should both be building to the same Carthage\Build\iOS location though. This is a bit redundant, but it helps to ensure you have a working…
-
[Cross-linking for reference: https://stackoverflow.com/questions/44484110/dropbox-api-download-complex-files ] It looks like jQuery unfortunately doesn't support downloading binary data like this: https://bugs.jquery.com/ticket/11461 I recommend using the official Dropbox API v2 JavaScript library instead:…
-
Thanks! That's helpful. It sounds like the issue is that the extra line feed is making its way into the HTTP request itself. When the resulting HTTP request is interpreted, that extra new line is interpreted as separating the headers from the body, causing the unexpected file data. I'm not sure if we'll be able to detect…
-
The Dropbox API does allow you to upload files to Dropbox accounts, but it's not designed to work directly from HTML forms. You can upload files either from the client (e.g., in the browser via JavaScript) or server-side. We recommend using one of the official SDKs, if possible:…
-
Thanks for the post! I can't make any promises, but I'll send this along to the team as a request for a version with bitcode enabled. The Chooser and the Files app will likely have different advantages/disadvantages, so it's up to you as far was which one(s) you want to use.