title: Saving to Dropbox folder using C# and ASP.NET
body: <p>I have an MVC 4 application that generates Excel spreadsheets from a template stored on my shared hosting FTP, but I would like the generated files to be stored in the user's Dropbox folder, not the server. How can I accomplish this using C#?</p>
  <p>My files are currently saved as follows:</p>
  <pre><code>ExcelPackage p = new ExcelPackage(tempFile);
  
  string newpath = Path.Combine(Server.MapPath(&quot;~/Content&quot;), &quot;Invoice.xlsx&quot;);
              FileInfo newFile = new FileInfo(newpath);
              p.SaveAs(newFile);
  </code></pre>
  <p><code>tempFile</code> is the template, which isn't relevant here. This code stores it on the server which I don't want.</p>