Reputation: 155
I cannot download file using java if the url contains special characters.
eg:-http://something.com/something/this+this+this.html
http://something.com/something/this%20this%20this.html
the same happens if i download the file using google chrome...
I am developing a downloader in java.. please help me..
Upvotes: 0
Views: 1845
Reputation: 4870
Use UrlEncoder.Encode(...) Java Methos , hope this will help you
and use decoder at client side
Upvotes: 1