使用FTP从服务器复制文件 [英] Copying files to and from servers using FTP

查看:83
本文介绍了使用FTP从服务器复制文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用FTP从我们的Windows和Unix服务器传输文件。

我需要使用哪些命名空间,有人可以给我一个非常简单的例子,在两个服务器之间复制文件以启动我。

解决方案

< blockquote>您可以使用System.Net命名空间中的FtpWebRequest和FtpWebResponse类来传输文件。

请参阅 http ://www.codeproject.com/KB/IP/FtpClient.aspx

I would like to transfer files to and from our Windows and Unix servers using FTP. 

What namespaces do I need to use, and could someone give me a really simple example of copying a file between two servers to get me started.

解决方案

You can use FtpWebRequest and FtpWebResponse classes in System.Net Namespace to transfer files.

Refer http://www.codeproject.com/KB/IP/FtpClient.aspx


这篇关于使用FTP从服务器复制文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆