commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Smith <>
Subject Check file path really exists
Date Tue, 19 Oct 2004 02:22:07 GMT

My uses apache commons upload. And I use the following to check if the path really
exists. The program runs in UNIX, and when user selects a file from windows machine, it seems
always not found the path. But if I test it in local machine, it is working, any ideas?? Please
advise. Thanks!!

File files = new File(fileNamePath);

if (!files.exists()) 

{ uploadFileExists = false;





Do you Yahoo!? - Register online to vote today!
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message