C ++如何在Windows平台上获取远程Windows服务器的共享文件夹的文件列表 [英] C++ How to get share folder's file list of the remote windows server in windows platform
本文介绍了C ++如何在Windows平台上获取远程Windows服务器的共享文件夹的文件列表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在开发由C ++编写的Windows应用程序,它需要通过用户名&检索远程Windows服务器共享折叠的文件列表。 passwd如:
BOOL GetFilesFromServerShareFolder( const CString& serversharefolderpath, const CString& username, const CString& passwd,CList& retfiles);
I不知道如何实现它。如果有人知道一些API或示例代码或教程,它将是真正有用的。
解决方案
这里可以是一些帮助的东西。下载并查看代码:
快速驱动器管理器 [ ^
I'm developing the windows app written by C++, which needs to retrieve the file lists of the remote windows server share fold by username & passwd like:
BOOL GetFilesFromServerShareFolder( const CString& serversharefolderpath, const CString& username, const CString& passwd, CList& retfiles);
I don't how to implement it.If anybody knows some APIs or sample code or tutorial, it will be realy usefull.
解决方案
here can be some helping stuff. Download and review the code:
A Quick Drive Manager[^]
这篇关于C ++如何在Windows平台上获取远程Windows服务器的共享文件夹的文件列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文