Click here to Skip to main content
15,936,802 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a problem with downloading some files. For example the file in this link:http://www.youtube-mp3.org/get?ab=128&video_id=If5MF4wm1T8&h=40315bbd57c461fdf6db511861d92e61&r=1415724941439.1364329971&s=32920[^]
I tried it with HttpWebRequest and WebClient.All the other url can be downloaded but some url s like this creates problem.When I try these methods connection is interrupted and there is no byte downloaded. Also ContentLength return -1. And this is how IDM download it=>http://imgim.com/ekrang%C3%B6r%C3%BCnt%C3%BCs%C3%BC.jpg[^]
How can I handle this?? Thank you in advance.
Posted
Comments
BillWoodruff 11-Nov-14 12:25pm    
IDM ... I've used it for years ... has excellent technical support; why don't you ask them:

support@internetdownloadmanager.com
Sergey Alexandrovich Kryukov 11-Nov-14 15:05pm    
Bill,

I don't think OP has a problem with Internet Download Manager. Is so, it's unlikely that the customer support of that site will help. Probably, the hassle is some detail, such as authentication, top-level protocols on top of HTTP (could be sending data in chunks), or something like that.

Only learning these detail can help. Such problems are solved with some network spy, most likely, HTTP spy would be enough. I would advise some if I knew that download with a Web browser is possible...

—SA
BillWoodruff 11-Nov-14 16:54pm    
Hi Sergey, There are frequent changes to the major browsers as they roll out updates so often these days; download-managers like IDM which integrate into browsers (to intercept downloads and offer to handle them) struggle to keep up with the updates and changes in api's to sites like YouTube. I know through experience how frequently IDM has been updated in the last months with getting downloads from YouTube (and their automatic pop-up download selector) particularly problematic.

The screen-shot shows the OP using IDM.

On the basis of my belief that no one could be more expert at the intricacies of downloading YouTube content than IDM, and my experience of the willingness of IDM staff (small company) to give quick detailed tech support: I believe suggesting the OP write their support department is a good idea.
Sergey Alexandrovich Kryukov 11-Nov-14 17:15pm    
I see, thank you. My point is: to reproduce all the subtlety some file/media servers provide, it's possible to learn the sequence experimentally. That's why I mentioned the HTML spy.
The idea to ask IDM personnel for help should not be neglected, of course.
I would also advise to make sure that downloading of the said resource would be legitimate...
—SA
Sergey Alexandrovich Kryukov 11-Nov-14 14:54pm    
If anything can be downloaded at all, it can be downloaded with the class HttpWebRequest.
Can it be downloaded using a Web browser without installing anything extra?
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900