[jcifs] Need help loading a file...please

Michael B Allen miallen at ioplex.com
Wed Jun 27 19:16:00 GMT 2007

Hi Laura,

What you're trying to do doesn't really have anything to do with jCIFS. I
suggest you try the Java forums java.sun.com.


On Wed, 27 Jun 2007 14:02:13 -0500
Laura McCord <mccordl at southwestern.edu> wrote:

> I have posted this question a couple times with no luck.
> I have made a connection to the filesystem and my file was found. However, when I use "in = new SmbFileInputStream", is the file loaded or do I need to read in the file still? I am confused... PLease help me.... I have been working on this for two months.
>                  SmbFileInputStream in = null;
>                  System.err.println("Test1"); //make sure methood is being called
>                  Config.setProperty("jcifs.netbios.wins", "ip");
>                  Config.setProperty("jcifs.smb.client.domain", "domain");
>                  Config.setProperty("jcifs.smb.client.username", "user");
>                  Config.setProperty("jcifs.smb.client.password", "secret");
>                  try{
>                     in = new SmbFileInputStream("smb://ip/idworks/" + imgPath);
>                  }catch(Exception e){
>                          e.printStackTrace();
>                  }

Michael B Allen
PHP Active Directory Kerberos SSO

More information about the jcifs mailing list