Comments
-
No, the Dropbox API only supports the "token" and "code" OAuth 2 flows, both of which require user interaction in the browser. So in your case, given the interaction is with a remote machine, it sounds like having the user copy/paste the token may be the most reasonable option. You can use this page as your redirect URI…
-
Thanks for the report! Are you still seeing this now? I just tried uploading a file named ".empfs1.xml" and I was able to find it by searching via the API with a query ".empfs1.xml", so it could have been a transient issue. If you are still seeing this problem though, please open an API ticket with the following additional…
-
The Dropbox API itself wouldn't refuse your connections like this; rejected calls would receive an explicit error, such as a 429 rate limiting response. Further, I just tried and the Dropbox API servers are currently responding successfully. It's possible you're seeing a network-level issue though. Is there any software,…
-
You should store the cursor for each user from your previous use of the API for each user. That might be from when the user first set up your app, or whenever they last used it, for instance. Specifically, it can be from the last time you called /2/files/list_folder or /2/files/list_folder/continue for that user. Each of…
-
The API was designed with the intention that each user would link their own Dropbox account, in order to interact with their own files. It is technically possible to connect to just one account. The SDKs don't offer explicit support for it and we don't recommend doing so, for various technical and security reasons. However…
-
You should keep track of the offset client-side, while uploading the data, so that you can specify the value when sending the next piece of the file, or when finishing the file. There's a sample implementation here. It looks like your usage is a little different though, in that you're not using filesUploadSessionAppendV2.…
-
That's correct, using the "token" flow is preferred for client-side applications like this, as it doesn't require the use of the app secret. As you mentioned though, the access token is returned on the URL fragment of the required redirect URI, so it's not acessible to the server. So, to get the access token back to a…
-
The Dropbox API does not offer a way to directly determine which cursor is for which user ID, or vice versa, based on just the cursors or tokens themselves. Instead, you need to store the asociation between the cursor and the user itself on your side. That is, when you receive a cursor and want to store it for later, key…
-
No, unfortunately the file properties are only accessible to the user who owns them, and won't be visible to other members of the shared folder, for instance. I'll pass this along as a feature request, but I can't promise if or when that might be implemented.
-
If you're deleting the file first, you shouldn't get the conflict error. I'll follow up with you privately to try to troubleshoot that directly. And yes, to upload new versions of an existing file, you should use upload again. You should send the data for the new version of the file, and specify the 'update' (preferably),…
-
Yes, on the user side, you can use GetCurrentAccountAsync. You can use the returned FullAccount.RootInfo to distinguish this. RootInfo.IsTeam means the team uses the team space; RootInfo.IsUser means it doesn't. Or on the team side, you can use FeaturesGetValuesAsync to get and check the FeatureValue.HasTeamSharedDropbox…
-
Using the Dropbox API v2 Objective-C SDK, here's what you should use for the following: * to share a folder: use shareFolder * to invite a new member to a shared folder: use addFolderMember * to remove a member from a shared folder, with the option to leave them a copy or not: use removeFolderMember * to unshare a folder,…
-
If you want to move individual files or folders, using MoveV2Async is the right way to do so. In that case though, if you have multiple to move, you would do need to do so serially, as calling MoveV2Async multiple times in parallel will likely cause lock contention. If you want to move multiple items at one time, it's…
-
[Cross-linking for reference: https://stackoverflow.com/questions/56569788/route-error-for-shared-link-swiftydropbox ] When uploading a file using upload, the 'path/conflict/file' error means that "There’s a file in the way.". That's expected after the initial upload. Unless you need to change the file's contents, you…
-
The MoveV2Async method is the right way to move an existing file or folder, so it looks like you already have the right idea. It sounds like you're getting the 'too_many_write_operations' error though. The 'too_many_write_operations' error indicates "lock contention". That's result of how Dropbox works on the backend. This…
-
That error seems to indicate that Dropbox couldn't get any response from your server. Is your URL globally Internet accessible? Are you sure your handler code is set up to respond on that particular "/jaguarVoDropbox/updateJaguarMedia.aspx" route? If that all seems to be set up right, feel free to open an API ticket with…
-
There isn't a way to increase the limits on /2/files/download_zip, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though. I'm afraid I can't offer any other good workarounds.
-
@"harrysfil" Thanks for the feedback!
-
@"harrysfil" I can't offer insight as to why Dropbox overall does or doesn't implement any particular feature, but we appreciate the input from our customers!
-
Thanks! Nothing looks obviously wrong there. What error are you getting? E.g., if something is failing when running this code, what do you get in your log? Or, if the connection from Dropbox isn't succeeding, what do you get in webhook error output on your app's page on the App Console?
-
I don't believe we have a webhook sample app or tutorial in C# in particular, unfortunately. I'll send this along as a request for one, but I can't promise if/when one might be written. I'll be happy to try and offer whatever help I can though. Can you share what you have so far, and what error you're getting?
-
Upload sessions in general are meant for larger files, but you can also use them for smaller files. That makes sense in particular when you have many files to upload at the same time, because the /2/files/upload_session/finish_batch allows you to commit multiple files at once, without causing lock contention between them.…
-
@"harrysfil" Thanks for the reply! We generally don't announce plans ahead of time, as plans can change and we wouldn't want to accidentally mislead anyone. Right now, I'm not aware of current work on a feature like this, but I'll follow up on this thread if/when I have anything to share.
-
Thanks for the additional feedback! I don't have any news on this though; Dropbox currently doesn't offer a pre-built embeddable option like this, but I'll add your voice to the feature request.
-
Can you try again now? Thanks again!
-
We now have the ability to offer developers access to a free Dropbox Business Development Account. This will allow you to test your app using a standard Dropbox Business team. You can request one using this online form. Once the team approves your request, you’ll be sent instructions by email to set up your development…
-
We now have the ability to offer developers access to a free Dropbox Business Development Account. This will allow you to test your app using a standard Dropbox Business team. You can request one using this online form. Once the team approves your request, you’ll be sent instructions by email to set up your development…
-
From your screenshot, I see that you are a member of a Business team named "Sapphire" using the "team space" configuration and you're looking at the file/folder listing for your team's team space. In that team space, you have your own private member folder, as well as a number of team folders with varying levels of access…
-
It sounds like you already have the right idea here for the most part. If you're operating on a team with the old configuration (i.e., not using the "team space"), you need to explicitly create the team folder using TeamFolderCreateAsync and then add the team group using AddFolderMemberAsync. I think the issue is that…
-
If you're working in Node, we recommend using the official Dropbox API v2 JavaScript SDK: https://github.com/dropbox/dropbox-sdk-js There's some example code here: https://github.com/dropbox/dropbox-sdk-js/tree/master/examples/javascript That includes some written specifically for Node here:…