c语言写的 ftp服务器(ftp server)

用c语言写的 ftp server 服务器,功能很简单,主要实现了以下ftp命令 : PASV LIST CWD PWD MKD RMD RETR STOR DELE SIZE ABOR QUIT TYPE NOOP。

每一个连接都开一个线程去处理,默认绑定端口为8021,目前支持匿名登录,程序只能运行于 linux 系统,我是在 ubuntu 14.04环境下编写的。
源码地址:https://github.com/hookr/Ftp-Server-C-Version


ftp server c version

This is a ftp server program written in c .I modified from this version,using threads instead of processes.original address.
You can run it only on linux.

Compilation and Run

  1. cd to the ftp server dir
  2. make
  3. execute with ./ftp_server

Function introduction

  1. Please run as root.
  2. Default binding port is 8021. You can change it to any port such as 21.
  3. Only supports anonymous users.
  4. Program directory for the FTP root directory
  5. Supported ftp commands include:PASV LIST CWD PWD MKD RMD RETR STOR DELE SIZE ABOR QUIT TYPE NOOP
最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

友情链接更多精彩内容