This project is read-only.

Download forbidden


I'm getting the http error code 403 while downloading a file.
:    in AppLimit.CloudComputing.SharpBox.Common.Net.Web.WebRequestService.GetWebResponse(WebRequest request)
   in AppLimit.CloudComputing.SharpBox.StorageProvider.DropBox.Logic.DropBoxStorageProviderService.CreateDownloadStream(IStorageProviderSession session, ICloudFileSystemEntry fileSystemEntry)
   in AppLimit.CloudComputing.SharpBox.StorageProvider.GenericStorageProviderService.DownloadResourceContent(IStorageProviderSession session, ICloudFileSystemEntry fileSystemEntry, Stream targetDataStream, FileOperationProgressChanged progressCallback, Object progressContext)
   in AppLimit.CloudComputing.SharpBox.StorageProvider.BaseObjects.BaseFileEntryDataTransfer.Transfer(Stream targetDataStream, nTransferDirection direction, FileOperationProgressChanged progressCallback, Object progressContext)
The strange thing is that I can correctly login and I can display all folder and files in my dropbox account.
I got this error only after my app has entered into "production" status. When it was in test it worked perfectly.


marcoKED2 wrote Mar 13, 2013 at 4:46 PM

An update to this issue.
The problem is the .Net framework. I had to move from version 4.0 to 4.5 of .Net framework and using a Web Site with version 4.5 the problem rise while using the 4.0 there were no problems.
Using instead a Web Application the library works fine for both versions.

JusinFourie wrote Jan 26, 2014 at 4:48 PM

I had the same error there is even a reference to it on stackoverflow.

Please could you guys fix this I need to use 4.5 in my application and if we cant get this fixed , I will have to use some thing else and I have really been happy with SharpBox

wrote Jan 26, 2014 at 4:48 PM

jaywick wrote Mar 7, 2015 at 12:13 AM

From this SO post, you could try updating the method GetDownloadFileUrlInternal() from the source.