[jcifs] Help

Christopher R. Hertel crh at ubiqx.mn.org
Wed Oct 4 16:48:06 GMT 2006

Malleswararao_Narikimilli wrote:
> Please help me, how to use JCIFS to create file in windows host.

The first step toward understanding how jCIFS works is to understand how
CIFS networking works.  In your example, you provided the following SMB URI


That breaks down as:
      user: admin
  password: $wpsSep06
     share: C:
 directory: /FileServer/
      file: Barath.txt

As Mike pointed out, you gave a share name of "C:".  That's probably
incorrect since that's a DOS-style device name.  Make sure that the server
is actually sharing the C: drive first, and check the name of the share.

Chris -)-----

"Implementing CIFS - the Common Internet FileSystem" ISBN: 013047116X
Samba Team -- http://www.samba.org/     -)-----   Christopher R. Hertel
jCIFS Team -- http://jcifs.samba.org/   -)-----   ubiqx development, uninq.
ubiqx Team -- http://www.ubiqx.org/     -)-----   crh at ubiqx.mn.org
OnLineBook -- http://ubiqx.org/cifs/    -)-----   crh at ubiqx.org

More information about the jcifs mailing list