aspose file tools
The moose likes Java in General and the fly likes How to check file Exists in a network drive Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "How to check file Exists in a network drive" Watch "How to check file Exists in a network drive" New topic
Author

How to check file Exists in a network drive

Revanth reddy
Ranch Hand

Joined: Oct 10, 2008
Posts: 52
hi Ranchers,
here is the scenarion, where i am lookinmg for help.
I am pulling some file names from the data base. and now i wanted to check wheather these files really exists in a physical drive (like m:\\10.11.55.0\dowload\loc\filename) where this drive is login protected. though i have the user name and password, how would i achieve this using java

Any help would greatly appreciated
Thanks in advance
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19216

JCIFS should be able to help you out.


SCJP 1.4 - SCJP 6 - SCWCD 5
How To Ask Questions How To Answer Questions
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: How to check file Exists in a network drive
 
Similar Threads
file exists?
Accessing files, detemining if they exist...
JOptionPane.showConfirmDialog choice problem
How to download directory from Ftp machine to local machine?
determining whether directory is available