Hi. I am thinking of modifying a good java download app that a friend of mine have made. It could only handle direct urls (www.xxx.com/abc.mp3) but when the url becomes something like (www.xxx.com/dl2.php&file=abc.mp3....) some sort of 'indirect' urls, it could work. What should I do to handle these 'indirect' urls ?
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35220
7
posted
0
That depends on how the app handles URLs with parameters. The URLConnection class can handle parameters, so it probably uses something else.
Note that "www.xxx.com/dl2.php&file=abc.mp3" looks like a broken URL - there should be a question mark instead of an ampersand.