Questions tagged [sharpbox]

SharpBox is a .NET library that abstracts existing proprietary cloud storage technologies under a clear, easy to use and reliable API available on the most important platforms in the industry (Windows, Linux, MAC, Windows Phone 7, Android and iOS).

SharpBox is a .NET library that abstracts existing proprietary cloud storage technologies under a clear, easy to use and reliable API available on the most important platforms in the industry (Windows, Linux, MAC, Windows Phone 7, Android and iOS).

28 questions
2
votes
1 answer

SharpBox Progress Bar for the user

I am trying to show user a progress bar during the uploadFile. I can get the percentage in back end through the method below, however I cannot manage to print the percentage returned by e.PercentageProgress to display to the user. static void…
Jorge.Methew
  • 75
  • 1
  • 10
2
votes
1 answer

401 System.UnauthorizedAccessException when access Dropbox With SharpBox API

The code config = CloudStorage.GetCloudConfigurationEasy(nSupportedCloudConfigurations.DropBox) as DropBoxConfiguration; //config.AuthorizationCallBack = new Uri("http://localhost:61926/DBoxDemo.aspx"); requestToken =…
maniac
  • 159
  • 2
  • 10
2
votes
0 answers

Downloading files from shared dropbox location in c#

In my application users will give a url to their shared dropbox folder. When it is given I want to grab the images in that url and download to a folder in my application. Is this achievable? I've tried to do this in SharpBox. I've managed to open a…
Sam S
  • 53
  • 6
2
votes
1 answer

Set a timeout value on calling a function in .NET

Is it possible to set a timeout value when calling a function in .NET? I am using a third party component called SharpBox that loops a set of Dropbox accounts and pulls in the contents to a given folder on my server. Dim itemsDownload as integer =…
QFDev
  • 8,668
  • 14
  • 58
  • 85
1
vote
0 answers

'System.UriFormatException' for 'WebAuthenticationBroker.GetCurrentApplicationCallbackUri()' when authorizing SharpBox in Windows Phone 8

I want to open the web to let user allow my app to access their files. The code is here: config = CloudStorage.GetCloudConfigurationEasy(nSupportedCloudConfigurations.DropBox) as DropBoxConfiguration; requestToken =…
Tran Hoai Nam
  • 1,273
  • 2
  • 18
  • 35
1
vote
0 answers

Code Hangs when Authorizing in SharpBox for Windows Phone 8 with C#

I want to create an WP8 app that allow user to upload images to their dropbox account. Just one click of the button it will authorize if haven't already then upload the image, otherwise it just uploads it. I followed the instructions here to create…
Tran Hoai Nam
  • 1,273
  • 2
  • 18
  • 35
1
vote
0 answers

Testing if webdav directory WRITABLE with SharpBox API

I am trying to list files and directories in webdav for users, i want to test if directory is writable using Sharpbox. Storage.Open(DavConfig, cred); rootFolder = Storage.GetFolder(dir); foreach (var file in rootFolder) { Boolean…
Niahm
  • 424
  • 5
  • 11
1
vote
1 answer

Dropbox Thumbnails

I am Using SharpBox Api for accessing Dropbox, but retrieving thumbnails is not supported. Is there any way in a .NET api for Dropbox to get thumbnails?
1
vote
0 answers

Sharpbox API The remote server returned an error: (401) Unauthorized

I'm using sharpBox API to connect to the DropBox. It upload the file correctly but when it try to download the file it gives the error The remote server returned an error: (401) Unauthorized. My code is as follows using…
Muhammad Nauman
  • 213
  • 1
  • 4
  • 20
1
vote
0 answers

Error with uploading file using Sharpbox

I am trying to upload a file to sharpbox. my app is registered as an app that can access to any of the files in my Dropbox account. It creates folders with no problem. But when It's trying to upload a file, I get the following exception: Exception…
Benjli
  • 125
  • 2
  • 13
1
vote
2 answers

Downloading a file using sharpbox

So i have some code that recursively creates directories and downloads the files in the folder repectively. Here is the code: public class Program { static void UploadDownloadProgress(Object sender, FileDataTransferEventArgs e) {…
Mike Barnes
  • 4,217
  • 18
  • 40
  • 64
1
vote
1 answer

DownloadFile method in Sharpbox and 403 error

I'm trying to make an application using Sharpbox for download one file of my dropbox directory. I try to download the file with the downloadFile() method, the code is: CloudStorage dropBoxStorage = new CloudStorage(); …
1
vote
0 answers

Sharpbox give an invalid URL(error 404)

I'm trying to make a basic program which upload a picture into dropbox(that part is fully working) and then it give that picture public url in order to download it. I use the following code to get that url: private void GetRessourceURI() { try …
Doctor_Why
  • 61
  • 10
0
votes
1 answer

Sharpbox 1.2 API

I tried to using the new API sharpbox 1.2. I tried this code: if (Request.UrlReferrer.ToString() == string.Empty) { DropBoxConfiguration config = DropBoxConfiguration.GetStandardConfiguration(); config.AuthorizationCallBack = new…
Mosh Feu
  • 28,354
  • 16
  • 88
  • 135
0
votes
1 answer

Get label in a static method inside class c#

I know there are many similar questions but I am kind of restricted in many terms for this case. I am using SharpBox to upload files to Dropbox and in order to create a progress bar visible to user, I am using a static method where SharpBox returns…
Jorge.Methew
  • 75
  • 1
  • 10
1
2