commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Smith <>
Subject invalid file path
Date Thu, 16 Dec 2004 02:25:44 GMT

I am using common file upload API in the java program, and it is able to upload any files
except the user tries to enter the backslash, or double slashes (//) in the browse file text
box, not using browse button. For example, C:/ will produces the following error.
But if I do C:\, then it's perfect 

A file or directory in the path name does not exist.) at
Method) at Code)) at
Compiled Code)) at org.apache.commons.fileupload.DefaultFileItem.write(

so the only workaround is to implement javascript myself? Maybe common file upload doesn't
take care of those cases.

please advise. thanks

Do you Yahoo!?
 The all-new My Yahoo!  What will yours do?
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message