Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

jcifsとjcifs-ngを統一的に扱うためのWrapper

License

Notifications You must be signed in to change notification settings

Sentaroh/JcifsFile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

22 Commits

Repository files navigation

使用方法
//SMB1 for jcifs-1.3.17(SMB1)
JcifsAuth auth_smb1=new JcifsAuth(JcifsFile.JCIFS_FILE_SMB1, domain, username, userpassword);
//SMB2/3 by jcifs-ng
JcifsAuth auth_smb2=new JcifsAuth(JcifsFile.JCIFS_FILE_SMB201, domain, username, userpassword); //For SMB2(210)
JcifsAuth auth_smb2=new JcifsAuth(JcifsFile.JCIFS_FILE_SMB211, domain, username, userpassword); //For SMB2(211)
JcifsAuth auth_smb2=new JcifsAuth(JcifsFile.JCIFS_FILE_SMB212, domain, username, userpassword); //For SMB2or3
JcifsFile jf_smb1=new JcifsFile("smb://192.168.0.10/share/readme.txt", auth_smb1);
JcifsFile jf_smb2=new JcifsFile("smb://192.168.0.10/share/readme.txt", auth_smb2);
System.out.println("exists="+jf_smb1.exists())
System.out.println("exists="+jf_smb2.exists())

About

jcifsとjcifs-ngを統一的に扱うためのWrapper

Topics

Resources

License

Stars

Watchers

Forks

Languages

AltStyle によって変換されたページ (->オリジナル) /