we had some code like this:
directory = new File(new URI(source.getURI()));
which has caused trouble with spaces in paths for a long time.
java.net.URI says:
http://java.sun.com/j2se/1.4.2/docs/api/java/net/URI.html#URI(java.lang.String)
"The single-argument constructor requires any illegal characters in its argument to be quoted and preserves any escaped octets and other characters that are present."
thus, you need to use:
directory = new File(new URI(NetUtils.encodePath(source.getURI())));
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]