如何在另一个系统中使用共享文件夹 [英] How to use the share folder in another system
本文介绍了如何在另一个系统中使用共享文件夹的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想将文件存储在另一个系统的共享文件夹中.我使用了路径,但提示输入用户名和密码.我不知道如何通过代码提供用户名和密码.还有其他任何方法可以在不提供用户名和密码的情况下保存文件.这是代码:
Hi,
I want to store the file in a another system''s shared folder. I used the path but it is prompt for the username and password. I don''t know how to give the username and password through the code. Is there any other way to save the file without giving the username and password. Here is the code:
private string GetPath()
{
dirpath = @"\\ASTI5\Promise Folders\Attach Document";
return dirpath;
}
}
在此先感谢
Thanks in Advance
推荐答案
在文件夹权限共享属性中设置FullControl ...
Set FullControl in folder Permission Sharing properties...
这篇关于如何在另一个系统中使用共享文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文