使用FTP文件传输 [英] File Transfer using FTP

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

问题描述

我要在我的Windows应用程序到远程机器转移使用FTP大文件。

I need to transfer a big file using FTP in my Windows application to remote machine.

我用命令提示符来传输使用FTP文件。但是,我怎么能做到这一点编程

I used command prompt to transfer files using FTP. But how can I do it programmatically

在.NET 2.0。样本程序是优势。

in .net 2.0. Sample program is advantage.

推荐答案

有关这一点,你可以使用:的FtpWebRequest

For this you could use: FtpWebRequest.

下面是一个很好的例子。我讨厌链接到另一个网站,但它有一个例子用上传和使用FTP下载

Here is a great example. I hate linking to another site, but it has an example with it for uploading and downloading using FTP.

http://www.c-sharpcorner.com/uploadfile/neo%5Fmatrix/simpleftp01172007082222am/simpleftp.aspx

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

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