Comments
-
The issue with choosing files in the Public folder should be fixed now. Please let us know if you're still seeing any issues.
-
That path should be the remote path of the file in the connected Dropbox that you want to download. For example, to get a file named "example.txt" in a folder named "Documents", you would supply "/Documents/example.txt". If you're getting metadata about files from the API, this would be the "pathLower" property of a…
-
I'd specifically like to see the raw HTTP (not HTML) request for the API call that results in the 400 HTTP response (which happens to contain HTML). I tried the script you provided, but it doesn't reproduce the issue on my machine.
-
Thanks for the detailed report! Unfortunately, the request ID isn't enough to see what the issue is in this case. With issues like this, where an API call receives an HTML response, it's generally because the HTTP request for the API call was mangled such that the Dropbox API servers weren't able to recognize it as an API…
-
Thanks for the report! We're looking into it.
-
Hi Cris, based on your first screenshot, it appears you're running the sample from a file:/// URL. These samples are built to run from a local server though, in order to handle the redirect from the app authorizatin flow. Without a local server running, you'll get the error in your last screenshot, as there's no server to…
-
Thanks for the post! Unfortunately, the API v2 Java SDK doesn't offer the same background syncing/offline functionality that the Sync SDK did, so you will need to implement whatever of those features you need. I'll send this along as a feature request. Apologies I don't have a better answer for you!
-
The Dropbox API doesn't offer the ability to access or add comments unfortunately, but I'll be sure to pass this along as a feature request.
-
If you're using Java, we recommend using the official Java SDK for Dropbox API v2: https://www.dropbox.com/developers/documentation/java There's an exmaple of uploading files using that here:…
-
Hi Michael, the /copy and /move endpoints on the Dropbox API expect the "to_path" parameter to be the full path where you want to put the item specified by the "from_path" parameter. So, if you want to move folder1 into folder2, your "to_path" should be "/14a148a2-21bd-4e95-a16a-82081a6f9504/folder2/folder1". As is, your…
-
It sounds like the Dropbox portion of this is working properly, so I'm afraid I can't offer much insight. That is, the PDF data is getting downloaded, and how your app handles that data is up to you. PDF data isn't necessarily human-readable though, so this may not just be a matter of encoding string properly. I recommend…
-
I'm not familiar with Apple's policies and procedures around this, so I'm afraid I can't offer much insight. Perhaps someone else on the forum has done this and can offer some information? Otherwise, you'll need to contact Apple to ask them.
-
The Chooser doesn't return media information like this, but I'll be sure to pass this along as a feature request. There also isn't a way to get an access token from the Chooser.
-
Thanks for the report! Is this only occurring for you when you select files in the Public folder? If so, that's a known issue we're working on.
-
Thanks for the report! We'll look into it.
-
They would also be visible to any other app that has access to the file.
-
I'm glad to hear you got this working. If you're trying to list the root though, the right value to supply is the empty string "" though.
-
That error indicates that the specified path, in this case "/stuckbykev", wasn't found in the linked account. If it's your own account, you can log in to the Dropbox web site to verify this. If you're using an app with the full Dropbox permission, that would just be a folder named "stuckbykev" in the root of your account.…
-
You don't need to compress a folder when uploading it via the Dropbox API. You would need to make an API call to upload each file in the folder though. You can use the /2/files/upload endpoint (or corresponding method in an SDK) to do so: https://www.dropbox.com/developers/documentation/http/documentation#files-upload
-
It looks like you're only calling uploadSessionStart once. You'll need to call that once per file. That is, a single "upload session" is used to upload a single file. You can use uploadSessionFinishBatch to finish multiple different upload sessions at once though.
-
Yes, non-root paths in Dropbox API v2 should start with a "/", so you probably mean to use "/stuckbykev".
-
Thanks for pointing that out! It looks like the documentation needs to be updated. You can use the builder to build this call with the desired options, like this: ListFolderResult result = client.files().listFolderBuilder("").withRecursive(true).start();
-
Oh, I see, thanks! For upload and download calls in particular, you won't get the failure when you're offline, since those are automatically handled on a background session. (And in fact, they should automatically continue when you get back online.)
-
Thanks for checking that. It does look like that should be getting filled out then, so I'm not sure exactly what's causing it on your system. In testing this, I was actually able to get mine stuck on null as well though. I was able to fix it by: * running "Clean Build Folder" (in the Xcode "Product" menu, while holding…
-
Thanks for the report! I'm not seeing this issue when testing on a device where the WiFi is off before/while making an API call though. I am getting a -1009 error. So that we can try to reproduce this and investigate, can you let me know: - what version of iOS you're seeing this on - how you're constructing the client…
-
Dropbox does offer an API you can use to upload and download files without using the official Dropbox desktop application. You can find everything you need to get started with the Dropbox API, including documentation, tutorials, and SDKs here: https://www.dropbox.com/developers
-
Thanks! Is that the exact code you're trying though? I don't see the Dropbox client object itself. You just seem to be calling a separate search method. Also, note that you need to implement the response callback. Just taking the return value won't give you what you're looking for. The search method is an RPC-style call,…
-
This should be fixed now.
-
This should be fixed now.
-
No, the Dropbox API doesn't offer anything like that, but I'll be sure to pass this along as a feature request.