1

Closed

The request was aborted: The request was canceled.

description

Hi i'am not able to upload videos to Skydrive. it sends me The request was aborted: The request was canceled. exception.
My code is
client.Timeout = 90000;
client.UploadWebFile(@"Wildlife.wmv", folder);
i have already posted this error by there is no answer to me. I have to finish my project by 03.07.2011. So pls send me a mail as soon as possible
Closed by

comments

ghollosy wrote Jul 2, 2011 at 9:53 PM

Hi, I cannot test it myself to upload large video files using the API. The only 2 things that come into my mind are timeout and file size limit. As I can see, you already increased Timeout to a large value. How big are your video files? SkyDrive has the 25MB limit. I never tested whether a file having exactly 25MB size can be uploaded, but I would suggest to try to upload smaller files like 20MB.

ghollosy wrote Jul 3, 2011 at 8:22 AM

Perhaps MS does not allow video files on SkyDrive, ... have you tried to upload with .dat, .bin, etc. extensions and after uploading rename it back to wmv?!

nxt wrote Jul 4, 2011 at 7:13 PM

Does the exception occur the before the 90 seconds you specified as timeout are elapsed? I only get this exception when the upload takes longer than the specified timeout.

prathiba wrote Jul 5, 2011 at 5:10 AM

Yes. i get this error within few seconds.

ghollosy wrote Jul 10, 2011 at 10:02 AM

Well, it seems that you have the same issue as reported in http://skydriveapiclient.codeplex.com/workitem/2646. You can read the explanation/resolution there.