Topic: 请问: 如何访问共享目录 |
Print this page |
1.请问: 如何访问共享目录 | Copy to clipboard |
Posted by: huangxd2000 Posted on: 2004-04-14 10:05 知道文件服务器的用户名和密码,访问一个共享目录. 第一次访问的时候, 在JAVA代码中如何写. 在地址栏中输入 \\ip\shareF 有输入用户和密码的提示 如何把用户名和密码直接输入 就像FTP格式或net use 一样建立服务器连接 在代码中如何实现 谢谢 ! |
2.Re:请问: 如何访问共享目录 [Re: huangxd2000] | Copy to clipboard |
Posted by: rostone Posted on: 2004-04-14 13:46 should study the protocol of SMB |
3.Re:请问: 如何访问共享目录 [Re: huangxd2000] | Copy to clipboard |
Posted by: huangxd2000 Posted on: 2004-04-15 18:20 有没有这样得格式: file://serverip/sharef 用户名 密码 如ftp的 用户名/密码@server |
4.Re:请问: 如何访问共享目录 [Re: huangxd2000] | Copy to clipboard |
Posted by: rostone Posted on: 2004-04-16 21:12 SmbFile file = new SmbFile("smb://guest:1234@192.168.3.56/share/a.txt"); http://gceclub.sun.com.cn/staticcontent/html/2004-03-12/jcifs.html |
Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1 客服电话 18559299278 客服信箱 714923@qq.com 客服QQ 714923 |