[jcifs] new to jcifs

Dan Dumont ddumont at us.ibm.com
Thu Jul 31 08:04:08 EST 2003


In the examples directory, there is an example called ListFiles.java

In it, it shows how you can connect to a CIFS server via an address and 
list the contents of that CIFS server.

for more information on how to manipulate files using jcifs, read the 
documentation 
here:
http://jcifs.samba.org/src/docs/api/

this page may be of more specific use to you:
http://jcifs.samba.org/src/docs/api/jcifs/smb/SmbFile.html

for information on how to construct an address properly, you can also look 
at the above link.

But do look through the examples directory contained in the zip file, 
available here:
http://users.erols.com/mballen/jcifs/

It contains some very good examples of how to play with this package.





"rajeev shrestha" <rajeevcool at hotmail.com>
Sent by: jcifs-bounces+ddumont=us.ibm.com at lists.samba.org
07/30/2003 05:45 PM
 
        To:     jcifs at lists.samba.org
        cc: 
        Subject:        [jcifs] new to jcifs


Dear members:

i came across the jcifs just today. my understanding about jcifs is that 
we 
can make a socket connection via NetBios protocol. this is exactly what i 
am 
looking for but i dont know how to start with it. i have the jcifs.jar 
file 
in my class path and is running fine.

what i am trying to do is to write a simple client program that connects 
to 
a server running in NetBios protocol. is it possible to get a sample code 
for a server and a client so that i can understand whats goin on?

thanks a lot.

rajeev

_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online 
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963






More information about the jcifs mailing list