Comments
-
The Dropbox API doesn't offer a way to directly determine which shared folders a particular group has access to, but I'll pass this along as a feature request. If you need to implement this, you'd have to call /2/sharing/list_folder_members[/continue] for each shared folder and check for the group in each one.
-
It sounds like your team is set up to use the "team space" configuration, so you shouldn't use the /2/team/team_folder/* endpoints. To create a folder in the team space, you should use the /2/files/create_folder_v2 endpoint. Please refer to the Namespace Guide for information on how to operate in the team space.
-
[Cross-linking for reference: https://stackoverflow.com/questions/54417566/how-to-detect-dropbox-folder-is-renamed-via-dropbox-http-api-or-java-sdk ] If a file or folder is renamed, the new entry will have the same 'id' as the previous (non-deleted) entry. So, if you want to keep track of renames, you should keep the…
-
The Dropbox API doesn't offer a way to programmatically retrieve the app name, but I'll pass this along as a feature request.
-
The Dropbox iOS app unfortunately doesn't currently support downloading folders in the document picker. I'm sending this along to the team as a request to support folders, though I can't promise if/when that would be implemented.
-
Using the 'update' mode and 'autorename:true' should result in the behavior you're looking for, if I understand correctly. Here's a contrived example: var filePath = '/test_324605.txt'; // gettting the current metadata for a file: dbx.filesGetMetadata({path: filePath}) .then(function(response) { console.log("got…
-
1. You can find instructions for copying a standard shared link for a file (i.e., which would be of the "/s/" type, which can be downloaded via the API), here: https://www.dropbox.com/help/files-folders/view-only-access 2. No, when you download from a shared link, you download a copy of the linked file at that point in…
-
1. If you use the "overwrite" mode, your app can overwrite another user's changes, and will not result in a conflicted copy. For that reason, we generally recommend using the "update" mode instead (with "autorename:true" if you want conflicted copies). That allows your app to more safely upload new versions where there may…
-
These prefixes are used to identify and validate these strings across the API. E.g., the "id:" prefix is always used for a file ID, a "ns:" prefix is always used for a namespace ID, etc. You app can store and re-use these values, but shouldn't attempt to modify them. You can see what kinds of values different parameters…
-
@"trinigato" The Dropbox Objective-C SDK doesn't have an option to disable the automatic token storage, but I'll pass this along as a feature request. (You can explicitly call unlinkAndResetClients when desired though.)
-
@"tfrysinger" We can't provide any absolute guarantee of compliance based on a description like this, so you should be sure to review all the guidelines and terms before developing code to use the Dropbox API: https://www.dropbox.com/developers/reference/tos https://www.dropbox.com/developers/reference/devguide…
-
Thanks for checking that and providing the additional information. As you found, the type of sharing you're using uses "/scl/fi/" link, as opposed to the standard "/s/". (The latter is what you get from the API itself, such as from sharing_create_shared_link_with_settings for a file, or when copying a shared link for a…
-
It sounds like you're able to retrieve the file data from the Dropbox API, and are now trying to use that file data client-side. The download-style methods, such filesDownload, yield a file blob of the file data. What you do with that is up to you. Unfortunately, I'm afraid I can't recommend or endorse any particular third…
-
@"tridejur" You already have an API support ticket open for this that we've been replying to. Please do not post in multiple places for the same issue. We'll continue following up with you on your ticket. Thanks!
-
@"tridejur" You already have an API support ticket open for this that we've been replying to. Please do not post in multiple places for the same issue. We'll continue following up with you on your ticket. Thanks!
-
@"GeekDesign" Thanks for sharing this code. Unfortunately however, it appears that some of the actual Dropbox API calling code is hidden in methods that aren't defined in this snippet (e.g., check_dropbox_file, upload_dropbox_file, check_dropbox_folder, and create_dropbox_folder), so it's harder to say exactly what it's…
-
@"Ford" It looks like your message isn't related to the thread here. If you're looking for Dropbox support, please visit this page: https://www.dropbox.com/support
-
I see, thanks. I do recommend starting from the unmodified SimpleTest on a supported platform as a reference, as that should work out of the box with no modifications (beyond plugging in your own app key). That's what I tested, and it worked for me. Anyway, unfortunately the SDK isn't officially supported in Xamarin, so we…
-
When using the Dropbox Chooser, Dropbox will automatically create the link to the file when the user chooses the file. The user does not need to go to Dropbox to create the link themnselves first.
-
Thanks for the context. Right now, I unfortunately don't have a solution to offer for downloading these "received" files programmatically. This is open with the team, but I can't offer a timeline for when that may be possible. I'll follow up here once I have any update on this.
-
If you have a standard Dropbox shared link, you can use the 'sharing_get_shared_link_file' method to download the file: https://dropbox-sdk-python.readthedocs.io/en/latest/api/dropbox.html#dropbox.dropbox.Dropbox.sharing_get_shared_link_file Note, however, that the kind of link you posted here, with "/l/scl", is not a…
-
The preview links don't expire on their own, though they can be revoked by the user. So, as long as the user doesn't disable the link, or delete the file, yes, you'd still be able to use them after an arbitrary amount of time.
-
If you need non-temporary links, but also need to download from them programmatically, you can use the "preview" links, but modify them as documented here: https://www.dropbox.com/help/desktop-web/force-download
-
Unfortunately it's difficult to reason about what is happening here without more specific information/code. Can you or your development company inspect the code driving the progress meter, and follow up here with any other details or code you can share if something isn't working as expected? Thanks in advance!
-
Thanks! That's helpful. Apologies for the trouble. I meant that you should be able to pass in the id for a file as retrieved from /2/files/list_folder, like in your original post, even if they're in a shared folder in the account, for instance. The files listed from /2/sharing/list_received_files aren't actually in the…
-
Are you getting that error when trying to run the "SimpleTest" sample app? Have you made any modifications (other than plugging in an app key)? I just tried it in Visual Studio 2017 on Windows 10 and I didn't get that error unfortunately. Is there any other output in the log? To clarify, are you also trying to run the…
-
This should be working again now. Please try again and let me know if not. Thanks!
-
Thanks! First, I see that you're using listFolder to list the contents of folders. That's the correct method, but note that you also need to use listFolderContinue, as you're not guaranteed to get all of the results back in a single call to listFolder. Please review the listFolder documentation for more information.…
-
You should be able to download a file from a connected Dropbox account using /2/files/download the same way regardless of whether or not the file is in a shared folder. E.g., you should pass in the 'path_lower' or 'id' value for the file you want as the "path" parameter. What exactly are you passing in when you get this…
-
There's an example of breaking down the error like this in the readme here: https://github.com/dropbox/SwiftyDropbox#route-specific-errors That example is for the delete call, but the mechanic is the same. For getMetadata, the route-specific error type is GetMetadataError. Be sure to check out the section right after that…