title: Download a file in Dropbox using asp.net mvc
body: <p>I'm using <code>asp.net mvc 4</code> and <code>dropbox-api</code> to download a file from my dropbox account. I've successfully installed the api in my project and I'm following <a href="https://www.dropbox.com/developers/documentation/dotnet#tutorial" rel="nofollow"><strong>this tutorial</strong></a> to understand the functionalities but I'm getting an error if I run,</p>
  
  <blockquote>
    <p>Specified argument was out of the range of valid values.
    Parameter name: path</p>
  </blockquote>
  
  <p>Here are my codes,</p>
  
  <pre><code>    public async Task&lt;ActionResult&gt; DropDls()
      {
          var dbx = new DropboxClient("MY-TOKEN");
          string folder = "My Folder";
          string file = "My File.rar";
  
          using (var response = await dbx.Files.DownloadAsync(folder + "/" + file))
          {
              await response.GetContentAsStringAsync();
          }
  
          return View();
      }
  </code></pre>
  
  <p>I'm noob to api related works, so can't figure it out what is wrong in here. But I need this to be done. I'll appreciate if I get some help from experts. Thanks.</p>