aspose file tools
The moose likes Sockets and Internet Protocols and the fly likes redirect url address Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Mongo DB Applied Patterns this week in the MongoDB forum
or a resume review from Five Year Itch in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Reply Bookmark "redirect url address" Watch "redirect url address" New topic
Author

redirect url address

Tay Thotheolh
Ranch Hand

Joined: Aug 07, 2008
Posts: 84
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
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.


Android appsImageJ pluginsJava web charts
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: redirect url address
 
Similar Threads
Configuring IBM HTTP server
Connecting to https urls from Java
Get works good,but Post donot,why?
Need to download a file from a https cgi connection
About Application Controller