Questions tagged [dropnet]

A .NET Client Library for the Dropbox API

A .Net client library for the Dropbox API

See https://github.com/DropNet

66 questions
5
votes
5 answers

DropNet DropBox login, how to do it programmatically in a console application?

Question: I'm using a DropBox csharp API from here: https://github.com/dkarzon/DropNet From the Unit tests, and the only working sample from here https://github.com/dkarzon/DropNet/blob/master/DropNet.Samples/DropNet.Samples.Web/Default.aspx.cs I…
Stefan Steiger
  • 68,404
  • 63
  • 337
  • 408
4
votes
0 answers

Increasing concurrent requests in DropNet

I have some giant folders saved in DropBox with more than 10k files in them. I want to check if a list of files exists there, but I can't get the metadata on the parent folder because I am over the 10k limit. So I have written code to check if each…
John Shedletsky
  • 6,950
  • 10
  • 34
  • 57
3
votes
1 answer

get_baseUrl RestSharp error

I just downloaded DropNet to try and use it. I am getting an exception when trying to do new DropNetClient: Method not found: System.String RestSharp.RestClient.get_BaseUrl() I searched this on Google and found that RestSharp may have introduced…
3
votes
2 answers

Compare local file and cloud file (using Dropbox with DropNet lib)

in C# I'm creating a client to sync local files and Dropbox folder, using DropNet lib. If the same file is present both in the cloud and in the local folders, how do I check if they are equivalent, or which of the two is more up to date? If I…
T. Phanelly
  • 189
  • 5
  • 16
3
votes
1 answer

Exception using DropNet

So I'm new to using external API's for projects, but I had an idea and I'd like to see if I can properly get files uploaded to dropbox. I've gone through the steps to get the key and token, and I've begun testing but I have run into an error: An…
Matt
  • 594
  • 1
  • 5
  • 24
3
votes
1 answer

Get a list of all files from my dropbox account using DropNet API

private void LoadContents() { App.DropNetClient.GetMetaDataAsync("/", (response) => { _model.Meta = response; }, (error) => { //OH DEAR GOD WHAT HAPPENED?! …
Pradeep Kesharwani
  • 1,480
  • 1
  • 11
  • 21
2
votes
1 answer

Is there a way to get the changed bytes between files via DropNet?

I am using the DropNet API to communicate with Dropbox. I noticed the clients GetFile call has an overload which takes the start and end bytes of a file, essentially meaning we can grab a portion of it. Is there a way to check via the DropNet api…
Carson
  • 240
  • 2
  • 14
2
votes
1 answer

DropNet unable to save Access Token for consequent requests?

As many people before me, I'm failing miserably to successfully save an access token between launches of my application. This application is actually only going to be used with one specific dropbox account, though I'm trying to make it easy to set…
The1nk
  • 683
  • 14
  • 25
2
votes
2 answers

C# DROPBOX API modify 10000 file limit

I'm working with dropbox: upload, delete, copy,..etc through DropNet API. So the problem is I can't access any folder that has over 10000 files. How can I improve it? Is it possible?
Ringo
  • 3,436
  • 2
  • 20
  • 36
2
votes
0 answers

DropNet Integration - GetAccessTokenAsync error

I'm trying to implement the DropNet library into my Windows Phone app but I'm getting the an error when calling the GetAccessTokenAsync method. Step 1: Get the oauth token from Dropbox public void ConnectToDropbox() { _client = new…
Andrew Ridout
  • 324
  • 1
  • 14
2
votes
1 answer

How to implement CancellationToken support in DropNet?

I want to asynchronously access DropBox API in a MonoTouch app. I thought it would be convenient to use DropNet which itself relies on RestSharp. Both libraries work well but DropNet overloads that return Tasks don't give you a way to associate…
Dan Abramov
  • 241,321
  • 75
  • 389
  • 492
1
vote
2 answers

DropNet compatibility with DropBox API v2

Is dropnet compatible with latest DropBox API, i.e. V2? It's not safe if it's using Sync API which is deprecated and is going to be shutdown, soon.
AVEbrahimi
  • 13,285
  • 12
  • 70
  • 151
1
vote
1 answer

Unauthorized Error in Dropnet

I'm using asp.net mvc 4 and Dropnet to download a file from my dropbox account. I'm not sure what is wrong with my code but I get a error whenever I run my project, Received Response [Unauthorized] : Expected to see [OK]. The HTTP response was…
Shihan Khan
  • 1,954
  • 4
  • 27
  • 53
1
vote
1 answer

Open dropbox file with OpenFileDialog and dropnet c#

I’m creating a c# winforms desktop program with dropbox support. The problem comes in where the user must select the file (from dropbox) that he would like to open. Is it possible to use the OpenFileDialog to display the content of the person’s…
Hendri
  • 21
  • 5
1
vote
0 answers

GetMetadata("/") hangs in DropNetRT

I'm using DropNetRT and I'm executing this code: api.UseSandbox = true; await api.GetMetaData("/"); It never returns from the GetMetadata function. All my other calls (i.e. GetDelta, Upload, GetFile) all work. Any direction you can give me would…
Ed wolfe
  • 11
  • 1
1
2 3 4 5