I\'m using asp.net mvc 4
and dropbox-api
to download a file from my dropbox account. I\'ve successfully installed the api in my project and I\'m follow
Non-root paths for the Dropbox API should start with "/". Your code is:
string folder = "My Folder";
string file = "My File.rar";
...
using (var response = await dbx.Files.DownloadAsync(folder + "/" + file))
That will result in a path "My Folder/My File.rar", but it should actually be "/My Folder/My File.rar". So, instead, you probably want code like this instead:
using (var response = await dbx.Files.DownloadAsync("/" + folder + "/" + file))