hoangduit / google-gdata

Automatically exported from code.google.com/p/google-gdata
0 stars 0 forks source link

The request was aborted: The request was canceled. VB.NET #397

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I'm trying to upload an 11MB video using the direct upload service but I keep 
getting the following error

"The request was aborted: The request was canceled."

The language I'm using is VB.NET

Original issue reported on code.google.com by dl9...@gmail.com on 28 Jun 2010 at 1:02

GoogleCodeExporter commented 9 years ago
Don't. I should mark the direct upload method deprecated. 

While it does work in general, you should be using the ResumableUpload 
component for YouTube. That is the recommended way of uploading data. 

If you want to figure out what is causing your issue, though, "the request was 
cancelled" indicates that the .NET runtime aborted the request on the client 
machine that is trying to upload. TImeout?

Original comment by test.fma...@googlemail.com on 28 Jun 2010 at 1:07

GoogleCodeExporter commented 9 years ago
Is there any documentation of that for VB.NET? I can't seem to find any.

Original comment by dl9...@gmail.com on 28 Jun 2010 at 9:15

GoogleCodeExporter commented 9 years ago
As you might notice, there is not much VB.NET documentation in the first place. 
I am not a VB programmer, so sadly i am not the best person to write 
samples/docs for this. There is a lot of C# sample code for it, primarily the 
YouTubeUploader sample - that should translate more or less into VB. Let me 
know if you need help on that. 

Original comment by fman...@gmail.com on 29 Jun 2010 at 12:38

GoogleCodeExporter commented 9 years ago
Hey I'm on my other account here, I can't find the C# source on that page?

Original comment by teachmec...@Hotmail.co.uk on 6 Jul 2010 at 12:29

GoogleCodeExporter commented 9 years ago
Source code for the YouTubeUploader sample can be found at:

http://code.google.com/p/google-gdata/source/browse/#svn%2Ftrunk%2Fclients%2Fcs%
2Fsamples%2FYouTubeUploader%2FYouTubeUploader

Marking this issue as Obsolete.

Original comment by ccherub...@google.com on 4 Feb 2011 at 2:49