How can I get a RealMedia file from a web site?
I've a problem in getting a file from a server. I've established an HttpUrlConnection to the following URL:
and I got the input stream of that file and wrote it to mt hard drive using the outputstream class; everything worked fine but after a couple of days when I try to download the same file (or any other file) the server automatically redirects me to the main page of the web site and the input stream I get is the HTML code of the main page instead of the bytes of the RM file....
is there another way to download that file using urlconnections or sockets?