It's not a secret anymore!*
The moose likes I/O and Streams and the fly likes Reading Secure Windows share using Java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » I/O and Streams
Bookmark "Reading Secure Windows share using Java" Watch "Reading Secure Windows share using Java" New topic
Author

Reading Secure Windows share using Java

ravi v kumar
Ranch Hand

Joined: Dec 14, 2004
Posts: 56
Hi There,

I had a requirement to read/access secure windows share using java. i have to provide windows username/password to access this share. can anyone worked on accessing this kind of file share using Java??

Thanks in Advance

Ravi
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41054
    
  43
That's what the jCIFS library does (jcifs.samba.org). It's API mirrors java.io.File/FileInputStream/FileOutputStream, so it's rather easy to use.


Ping & DNS - my free Android networking tools app
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Reading Secure Windows share using Java
 
Similar Threads
reading a secure site (pls urgent)
Active Directory services
How to access the windows registry
Problem in reading the excel file path from WINDOWs machine from UNIX environment
Error inTransfering file to the remote system