commons-user mailing list archives

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

My upload.java 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;

break;

}

 

 
 

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