This project is read-only.

DownloadFile and error 403

Sep 21, 2013 at 6:51 PM

I try to download a file with the method downloadFile, the code is:

CloudStorage dropBoxStorage = new CloudStorage();
dropBoxStorage.Open(dropBoxConfig, accessToken);
dropBoxStorage.DownloadFile(FilePath, TargetPath);

I think that dropBoxConfig and accessToken are fine because I can show the folders and files in dropbox, but when I try to download, I obtain this error:

The remote server returned an error (403) forbidden
Error en el servidor remoto: (403) Prohibido.

Help me, please. Thank you.
Sep 24, 2013 at 2:40 PM
I found a solution:

I had to move from version 4.5 to 4.0 and works fine. I don't know the reason.

Jan 26, 2014 at 4:54 PM
I have the same problem and don't know what to do now because I need .net 4.5 for my applicaiton.

Will this ever be fixed ?

Love Sharpbox !