commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mihael Knezevic <m.kneze...@porta.de>
Subject Re: [fileUpload] Question about file name
Date Fri, 10 Jun 2005 06:16:54 GMT
this whole discussion is old. it can be found in the archives. the 
implementation of the jvm on linux FROM SUN is faulty on this one. cause when 
use use a filename like /tmp/mydir/myfile.txt and make a file object of it on 
a windows system and get the name you would get the name myfile.txt though 
the file separator on windows is a backslash, thats ok. but on linux you 
won't get the name from a windows path. i send a bug report to sun. there was 
some misunderstanding and then Dakota Jack <dakota.jack (at) gmail.com> send 
also a bug report to sun. perhaps it is in the bug list by now.

and yes the ie sends the full path. call it a bug or a feature.

just replacing the backslash with a slash won't solve every case but most 
cases.

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