tags:

views:

360

answers:

5

Is there a way to download a file using a rapidshare premium account with c# or java?

+1  A: 

There are Web Helpers in C# ( WebClient ) which lets you download content. See an example here. Now this is the harder way maybe, you might want to see if Rapidshare got an API you can program against, otherwise you need to do the authentication through a webclient, get the image urls and download the images.

Filip Ekberg
+1  A: 

yes. The project cryptload (in .net) and jdownloader (in java) do it...

gbianchi
+1  A: 

of course. you can do it with any language that sends or receives HTTP with cookies. Is there an easy way? Probably not. You may even need a JS interpreter.

SpliFF
+5  A: 

RapidShare has an API you might want to look into.

Anton Gogolev
+1  A: 

Let's not invent the wheel twice! Someone has already created a nice class you can use to download your stuff from rapidshare:

see here : http://sqnco.com/2009/07/simple-rapidshare-download-class-c/

I've just tested it and it works 100%!! There is still some fixing to do on how to display progress of the jobs but the download class itself is very nicely implemented and extremely easy to use!

Peter