-
Delete file from dropbox
I'm using Dropbox SDK v2 and I want to delete an item (folder or file) . Is it possible? Thank you
-
Create a new folder using FilesRoutes.BeginCreateFolder method
Hi , I don't understand how to use this method . What is supposed to do an AsyncCallback? Can you please provide me an example ? Can I create a new folder in my root folder using this method? Thank you
-
Access token expiry, Folder or file parentId,
Hello, I have multiple questions: 1.How to check if access token has expired? For the moment I created a new DropboxClient and if it is null I make a new request for another access token. 2.Is it possible to get the parent id of a folder or file? I've seen that every metadata of a file or a folder has an id , but they…
-
Upload and download large files
Hello dropboxers, I'm using Dropbox SDK for .NET v2 and I'm trying to download a file which has 60 MB and I get an AggregateException : {"A task was canceled."} :.I've tried also to download a folder which contains only documents (a few MB) and it works . The method for download a file: private async Task…
-
How to correctly create a task
I'm trying to create folder and then to store the metadata of create folder: try { FolderMetadata folderMetadata = client.Files.CreateFolderAsync(newFolderPath).Result; } catch (Exception e) { string m = e.Message; } And it crashes without any exception. This method is working for oneDrive : LiveOperationResult meResult =…
-
Check if folder exists and collect shared folder
Hello, 1.I'm trying to check if folder exist in my dropbox by retrieving metadata from given path: (example path "/myfolder") public async Task<Metadata> GetFolderMetadata(string folderPath) { Metadata folderMetadata = await client.Files.GetMetadataAsync(folderPath); if (folderMetadata != null) return folderMetadata;…
-
How to get access token from browser?
Hi, I'm using your new .net sdk v2 Dropbox.Api . I want to open the browser with authorize uri , then login and then get all the uri and parse it with your function called ParseTokenFragment(). It is possible? Or maybe is another solution . All I want is to avoid creating a WebBrowser control in my application and then…
-
Ambiguous call
Hello Dropboxers, I'm trying to use your method to get authorize uri fromDropboxOauth2Helper class. If I make a call like DropboxOauth2Helper.GetAuthorizeUri(OAuthResponseType.Token,myAppId) I get ambiguous call . Is there a way to avoid this without creating in my app a redirect uri? Thank you
-
How to add a folder to dropbox?
Hi there Dropboxers, I'm trying to create a folder directly to my box from your server. I have the DropboxClient client and the AccessToken , but the method : client.Files.CreateFolderAsync("NewFolder"); doesn't work . Maybe the path that I'm providing is wrong ? How it should look ? Can you give me a correct example call…