使用受信任的连接访问FTP [英] Accessing FTP using trusted connection
本文介绍了使用受信任的连接访问FTP的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何使用受信任的连接访问FTP和共享路径?
How can I access FTP and shared path using a trusted connection ?
推荐答案
此处有关FTP连接的代码项目文章
Hi,
Here a code project article about FTP connection
所有您需要的是类System.Net.FtpWebRequest
,请参见 http://msdn.microsoft.com/zh-我们/library/system.net.ftpwebrequest.aspx [ ^ ],另请参见本文中的代码示例.
对于共享路径,这是将文件映射到共享这些文件的远程系统上的方式.如果您以具有适当权限的用户身份运行代码,则可以在与普通(本地)文件相同的文件中使用.但是,同样的情况也适用于普通文件.您应该不会看到任何区别.
—SA
All you need is the classSystem.Net.FtpWebRequest
, see http://msdn.microsoft.com/en-us/library/system.net.ftpwebrequest.aspx[^], see also the code sample in this article.
As to the shared path, this is something which maps the files on a remote system sharing those file; you can use in the same was as ordinary (local) file, if you run the code as a user with proper permissions. However, the same thing applied to an ordinary file. You should not see any difference.
—SA
这篇关于使用受信任的连接访问FTP的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文