LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 831|回复: 3

How to write a FTP ? :))

[复制链接]
发表于 2003-10-13 16:21:18 | 显示全部楼层 |阅读模式
I just wanna write a FTP program in C Language?
Dose anybody know how to achieve it ?
Or are there any source code ?
发表于 2003-10-13 17:21:07 | 显示全部楼层
RFC 959 - File Transfer Protocol
http://www.faqs.org/rfcs/rfc959.html

First u should have some degree network program fundament, if u know little about them before, opening your books now and sight deep into them.

After that, reading rfc docs carefully about file transfer protocol from above url.

There are various ftp tools under linux, many of them are open source, meaning that u can gain them easily and modify them freely.

Use your minds, u will find your want. Good luck!
发表于 2003-10-14 09:13:31 | 显示全部楼层
可以用socket。然后就是处理FTP协议,就可以了。
发表于 2003-10-14 22:03:59 | 显示全部楼层
先熟习socket编程,再了解有关的RFC。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表