Is there a way to download a file using a rapidshare premium account with c# or java?
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.
yes. The project cryptload (in .net) and jdownloader (in java) do it...
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.
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!