commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephen Colebourne <scolebou...@btopenworld.com>
Subject Re: [FileUpload] upload.parseRequest(request) failure
Date Fri, 10 Mar 2006 09:00:06 GMT
Martin Cooper wrote:
>>File saveTo = new File(upload_path+"/"+name);

This should be considered a bug. You should be using:
new File(upload_path, name);
As the line separator character can vary by OS.

Stephen

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


Mime
View raw message