get file from other computer
来源:互联网 发布:.fm域名 编辑:程序博客网 时间:2024/05/17 02:02
ns: NETRESOURCE;
ns.lpLocalName := nil;
ns.lpRemoteName := PChar('//' + ServerIP);
ns.lpProvider := '';
if WNetAddConnection2(ns, 'Password', 'Administrator', 0) = 0 then
CopyFile('//server/filename','c:/filename',false);
例如,已知//192.168.0.1/d已经共享的用户和密码。
想在程序中调用这个文件夹下的.dbf资料。
如何在程序中实现没有连接到那台电脑的时候,会先尝试用已知的用户和密码连接呢?
- get file from other computer
- Get the solution from the other source.
- GET SOME ARTICLES FROM OTHER WEBSITE
- from obj file get filelist
- Get CellId and other Imformation from mobile phones via J2ME
- Installing Software in Ubuntu(get from other website)
- Archiva can not download file from other resources
- Want to write some code? Get away from your computer!
- How to manually remove an infected file from your computer
- How to get file from classpath
- Get the Mime Type from a File
- Get contacts data from CompactFlashBackUpPim file
- Get the Mime Type from a File
- Get data from file(xxx.png) failed!
- Get data from file(xxx.png) failed!
- Kernel: Get filename from "struct file *"
- wprintf, fork, fwide, get FILE* from a file descriptor
- Download from other website
- Tomcat性能调整 (6)
- C#操作MS Excel
- MSN.com上的跨站漏洞
- 爱因斯坦相对论介绍
- 对Autorun.inf类U盘病毒的攻防经验总结
- get file from other computer
- 网吧做直播,制做网页播放器代码全集
- 如何在快速变更的环境中开展测试工作
- 做一个 销售综合查询 要用到哪些 类和方法,请哪位大虾指点下,谢谢.
- J2EE Architecture(12)
- 学习DSP者
- C++之Template
- Log4j入门
- oracle中sql语句的使用