创建FTP服务器 [英] creating an ftp server

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

问题描述

我想创建在C#中的FTP服务器。 这个服务器监听到任何FTP请求,并且如果一个文件被从远程位置发送,则服务器应该将其写入到一个特定的文件夹。 我使用VS2008。我需要一个TCP监听器?的FtpWebRequest? FtpWebResponse?

I am trying to create a ftp server in c#. This server should listen to any ftp requests, and if a file is sent from a remote location, then the server should write it to a specific folder. I am using VS2008. Do I need a tcp listener? FtpWebRequest? FtpWebResponse?

推荐答案

我相信一个的TcpListener是最容易与

I believe a TcpListener would be easiest to work with

有一个古老的一篇文章就在这里,应该仍然是有用的: codeguru

There's an old article on it here that should still be usefull: codeguru

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

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