title: UploadWebFile SkyDrive .Net API Client
body: <p>This is my code for uploading database backup file to SkyDrive. Program is breaking at last line, when it is trying to upload with function <code>UploadWebFile</code>. <code>/Backups</code> is folder on SkyDrive. I am using SkyDrive .Net API Client 2.0.2b.</p>
  
  <p>Exception is: </p>
  
  <blockquote>
    <p>The request was aborted: The request was canceled.</p>
  </blockquote>
  
  <p>Is it problem with syntax or it is something else, what is solution?</p>
  
  <pre><code>var client = new SkyDriveServiceClient();
  
  client.LogOn("username", "password");
  
  WebFolderInfo webInfo = new WebFolderInfo();
  webInfo.Path = "/Backups";
  
  client.UploadWebFile(@"D:\db.bak", webInfo);
  </code></pre>