文件名称:ftp
- 所属分类:
- Linux/Unix编程
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 4kb
- 下载次数:
- 0次
- 提 供 者:
- Dr***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
在Linux系统上使用Socket接口实现FTP客户端和服务器的程序,使客户端可以连接至服务器,并且可以进行一些FTP的基本操作。客户端和服务器的命令通道和数据通道需要分离,支持以下一些FTP命令:
get:取远方的一个文件
put:传给远方一个文件
pwd:显示远方当前目录
dir:列出远方当前目录
cd:改变远方当前目录
?:显示提供的命令
quit:退出返回
!dir,列出本地当前目录。-In Linux system using the Socket interface FTP client and server process, so that the client can connect to servers, and FTP can also conduct some of the basic operation. Client and server command channel and data channels need to be separated from support for the following FTP command: get: get a file from afar put: the distance to a file pwd: display the distance the current directory dir: lists the current remote directory cd: changes the distance the current directory? : Display command quit: exit to return! Dir, set out in the local current directory.
get:取远方的一个文件
put:传给远方一个文件
pwd:显示远方当前目录
dir:列出远方当前目录
cd:改变远方当前目录
?:显示提供的命令
quit:退出返回
!dir,列出本地当前目录。-In Linux system using the Socket interface FTP client and server process, so that the client can connect to servers, and FTP can also conduct some of the basic operation. Client and server command channel and data channels need to be separated from support for the following FTP command: get: get a file from afar put: the distance to a file pwd: display the distance the current directory dir: lists the current remote directory cd: changes the distance the current directory? : Display command quit: exit to return! Dir, set out in the local current directory.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
code
....\client.c
....\server.c
....\client.c
....\server.c