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
1
vote
0 answers

Dropbox/dropnetrt : how to get user token/secret?

I am trying to use the dropnet api but it requires an api key/secret and a user token/secret. var client = new DropNetClient("API_KEY", "API_SECRET", "USER_TOKEN", "USER_SECRET"); I managed to find/generate my api key/secret but I don't find how to…
M.i.p
  • 21
  • 5
1
vote
0 answers

Dropnet on MVC getting unauthorized on first call

I am using the below code which works only on my second attempt. When I use it for the first time, it always get Unauthorized, next call it runs successful. public ActionResult AuthorizeDropBox(string redirectUrl) { var _client = new…
user2779312
  • 661
  • 2
  • 9
  • 23
1
vote
1 answer

Dropnet on MVC after redirect

I have an MVC website in which I am using the DropNet Api. public ActionResult AuthorizeDropBox() { try { var _client = new DropNetClient("API KEY", "API SECRET"); if (_client == null) throw new…
user2779312
  • 661
  • 2
  • 9
  • 23
1
vote
1 answer

DropNet File upload fails permanently

I am developing a C# application which should connect to the user`s Dropbox using the DropNet C# Api. I connect my application like this: UserLogin login=client.GetToken(); client.UserLogin = login; String url =…
Rico Ocepek
  • 767
  • 6
  • 20
1
vote
2 answers

Dropnet authentication behaviour on Windows Phone 7.1 and 8.0

I have a pair of Windows Phone apps that make use of Dropnet for Dropbox integration. One developed in Visual Studio Express 2012 targeting 7.1 and one in Visual Studio 2013 targeting 8.0. Both are using Dropnet 1.9.6 and RestSharp 104.4.0 via…
Michael Phillips
  • 862
  • 2
  • 7
  • 17
1
vote
1 answer

How to use a proxy in dropnet

I tried to create a tool with dropnet. Now there's a big Problem: we have a Proxy in the Office How can i use this Proxy automaticaly for every Connection? Thx damon
Damon_Kronski
  • 17
  • 1
  • 8
1
vote
1 answer

Upload large files with Dropnet issue

I'm using Dropnet library in Visual Studio 2010 and I've connected my project with Dropbox. When I try to use upload with files smaller than 4MB it's ok but when the files are larger there is a problem. I've searched and found a sollution, to add…
Goran P.
  • 11
  • 3
1
vote
1 answer

Dropnet web service download file

I'm developing a web service using WCF. This web service use JSON to communicate with the clients. Furthermore it provides several methods using the DropNet API. Now I need to download a file, so I created a method called DownloadFile(...). What…
Cardella
  • 335
  • 1
  • 4
  • 13
1
vote
2 answers

Uploading large files to dropbox in chunks using dropnet

I recently tried Dropnet API to connect dropbox app in my C# project. Everything works fine, but I want to upload large files through chunkupload request. public void FileUpload() { string file = @"E:\threading.pdf"; int chunkSize = 1 * 1024…
1
vote
1 answer

Progress bar in dropbox upload using dropnet OR progress bar of method REQUEST.GetResponse()

I am using dropnet (dropbox c# API) to upload files to dropbox. Problem is I need to do that in chunks to monitor progress. Just read at one place that Dropbox supports chunk upload (https://www.dropbox.com/developers/blog/21) and it has library for…
sujit
  • 135
  • 8
1
vote
2 answers

Download file from Dropbox using DropNet

I am trying to download a list of files, but isn't really sure of how to proceed. As the topic says, I am using DropNet, and this is the procedure I am trying to download the files with: Get a list of all files in my applications dedicated folder…
Rickard
  • 421
  • 2
  • 8
  • 19
1
vote
3 answers

Access token key and secret not working in DropNet

I'm using DropNet for Dropbox OAuth but I have one major problem - I can't store access token key and secret cause there is no point storing them. The storing mechanism is not a problem and not a key problem here - the problem is in this: private…
n1tr0
  • 269
  • 4
  • 15
0
votes
2 answers

Authorization when user details are remembered by the browser

I'm building WP7 application using DropNet. I have successfully managed to log in and authorize the app (using WebBrowser control) and this works ok. The problem is when user checks 'remember me' on the drop box login screen - an obvious thing to…
bodziec
  • 574
  • 1
  • 6
  • 23
0
votes
1 answer

DropNet Upload Error

I am trying to upload to Dropbox using DropNet in my Windows for application. My code is : - _client = new DropNetClient(app_key, app_secret, token, secret); _client.UseSandbox = false; _client.UploadFile(dropbox_folder, "puzzle_01.png",…
S Basu
  • 13
  • 4
0
votes
1 answer

How do I get the share url of a local dropbox file using C#

I am using the DropNet API to retrieve the share link of a local file but cannot get past the GetAccessToken() because it is null. Here is my code so far: var _client = new DropNetClient(APIKEY, APISEC); _client.GetToken(); var url =…
Lee
  • 346
  • 3
  • 9