commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vineet Billorey" <vineet.billo...@monsoonconsulting.com>
Subject Re: [FileUpload] upload.parseRequest(request) failure
Date Fri, 10 Mar 2006 10:22:29 GMT
OK. I tried this.

But Sorry. Result was the same.

Any new sugestion please?

Thanks in ADVANCE.

Vineet Billorey

----- Original Message ----- 
From: "Stephen Colebourne" <scolebourne@btopenworld.com>
To: "Jakarta Commons Users List" <commons-user@jakarta.apache.org>
Sent: Friday, March 10, 2006 2:30 PM
Subject: Re: [FileUpload] upload.parseRequest(request) failure


> 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
> 
> 
> 
> 
> -- 
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.375 / Virus Database: 268.2.0/275 - Release Date: 3/6/2006
> 
> 


---------------------------------------------------------------------
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