Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

Re: How to determine whether a file exist or not in a remote host
  by using java?

jmoliere

2004-02-12

Replies:


> Howdy,
>
hi,
> I want to confirm if there is a file in a romote machine,
> How could I do using Java?
>
what is your context ? if you use tomcat (not uncommon on this mailing
list :))
you may use a servlet to enable your client to ask to do something on the
web server filesystem...

If you use SMB protocol (samba or windows sharing) you may look at the
excellent jcifs smaba project (jcifs.samba.org)

HTH
Jerome
--
Auteur cahier du programmeur Java tome 2 - Eyrolles 10/2003
http://www.eyrolles.com/php.informatique/Ouvrages/ouvrage.php3?ouv_ean13=9782212111941


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)



©2008 junlu.com - Jax Systems, LLC, U.S.A.