Comments
-
Here is the cleaned up code that now works after the switch-over update (early 2024) in re Teams/Shared Spaces: public static async Task<ListFolderResult> ListFolderInTeamSpace(DropboxClient client, string path){ try { var account = await client.Users.GetCurrentAccountAsync(); return await…
-
I actually came up with a decent method of opening the Windows File Explorer having the synchronized DropBox files on the client from a website. In this case, the website is running Blazor Server in .NET 7. I create a SignalR Hub to which a small Windows Form application subscribes. using…
-
Thanks Greg - no problem with finding the local path...in fact, I have an Outlook Add-In that will automatically summarize the message body with OpenAI and archive the email into the proper DBX subdirectory based on a docket (e.g., ticket no). The challenge is that modern browsers (wisely) do not support UNC paths to open…
-
Wondering if there is any further interest in supporting this feature through the API. We use the API in production (which is rock solid, so thank you for a great product). However, right now from the Intranet we open the DB folder then wait a bit for the context menu to show the "open in file explorer" to get to the local…
-
This was really helpful - thank you for sharing the fix. Didn't run into this until deployment with non-admins. For anyone in the odd position of needing this for a Windows Forms application here is how I built the authorizeURI: // set the desired scopes var scopesList = new List<string> { "account_info.write",…
-
This would be a killer feature. Hope it might happen.
-
Thank you Greg - very helpful. BTW, the string comparison that caught your eye is from the DBX .NET C# sample on Github (simpletest.cs). I thought it was a little odd too but the .NET samples were nevertheless an amazing help.
-
Hunting for some exemplary C# (and or best practice advice) on the RateLimitingException but not finding much. Not sure how to test this but I was thinking: public static async Task<FolderMetadata> CreateFolder2(DropboxClient client, string path) {…
-
That was it. Thank you! For reference if anyone is doing this in Blazor-Server (code thinned out to pertinent issue): @page "/dbxAuth"@using System.Runtime.InteropServices@using System.Threading.Tasks@using Dropbox.Api@inject NavigationManager NavManager@code{ public async Task ProcessDropboxCallback(string AuthCode){//…
-
Hello Greg: Worked! The .NET SDK DBX App has Teams rights but I only request individual rights in the authorization URL scope directive: https://www.dropbox.com/oauth2/authorize?client_id=MY_CLIENT_ID&redirect_uri=MY_REDIRECT_URI&response_type=code&scope=account_info.write account_info.read files.metadata.write…