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 `UploadWebFile`. `/Backups` is folder on SkyDrive. I am using SkyDrive .Net API Client 2.0.2b.

Exception is: 

> 
> The request was aborted: The request was canceled.
> 
> 
> 

Is it problem with syntax or it is something else, what is solution?

```
var client = new SkyDriveServiceClient();

client.LogOn("username", "password");

WebFolderInfo webInfo = new WebFolderInfo();
webInfo.Path = "/Backups";

client.UploadWebFile(@"D:\db.bak", webInfo);

```