我试图从asp.net中的C#程序访问远程网络共享.我需要的是类似的东西
function download(dirname)
{
directory = (This is the part I don't know how to do)
for dir in directory:
download(dir);
for file in directory:
copyfile(file);
}
Run Code Online (Sandbox Code Playgroud)
我的问题是该目录需要用户名和密码才能访问,我不知道如何提供它们.谢谢你尽你所能的帮助.