hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sean machin <smachin1...@yahoo.com>
Subject how to handle spaces in filenames?
Date Fri, 22 Apr 2005 19:00:44 GMT
Hi All,

I'm using the HTTP client lib., what is the best way to download a file
containing spaces in the name (e.g. "one two.xml") using this library.
If I don't do any special filename encoding at all, I get :

java.lang.IllegalArgumentException: Invalid uri '/admin/diff_access/one 
two.xml': escaped absolute path not valid


To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-user-help@jakarta.apache.org

View raw message