文件名称:ftp_lab

  • 所属分类:
  • 其他小程序
  • 资源属性:
  • [C/C++] [源码]
  • 上传时间:
  • 2012-11-26
  • 文件大小:
  • 8kb
  • 下载次数:
  • 0次
  • 提 供 者:
  • ta***
  • 相关连接:
  • 下载说明:
  • 别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容均来自于网络,请自行研究使用

从命令行终端获得ftp 服务器的域名或 IP 地址字符串,转换为网络字节序的二进制

格式的IP 地址。

使用上述IP 地址和默认的21端口,创建一个到ftp 服务器的TCP 连接,用于传输

所有的控制命令。

在传输控制命令的TCP 连接中循环处理,将用户端的标准输入解释为FTP 协议的

控制命令并发送,根据ftp 服务器回复的响应命令执行一些本地操作或远程控制。

准备进行数据传输时,创建一个新的 TCP 连接,根据需要,将接收到的数据发送到

标准输出或存储到文件中。数据传输结束后,关闭这个TCP 连接。

用户退出时,释放内存等资源,关闭用于传输控制命令的TCP 连接,退出程序。-From the command line terminal access to the ftp server domain name or IP address of the string is converted to the IP address of the network byte order binary format. Use the IP address and default port 21, to create a TCP connection to the ftp server for the transmission of all control commands. 3 loop in the TCP connection of the transmission of control commands, the client s standard input is interpreted as control commands and sends the FTP protocol ftp server reply to the response command to perform some local or remote control. Ready for data transmission, to create a new TCP connection, according to need, will receive the data sent to standard output or stored to a file. Close the TCP connection after the data transmission. 5 when the user exits the release of memory and other resources to close the TCP connection used to transmit control commands to exit the program.
(系统自动生成,下载前可以参看下载内容)

下载文件列表

1.txt

14.c

ftp.c

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度更多...
  • 请直接用浏览器下载本站内容,不要使用迅雷之类的下载软件,用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*主  题:
*内  容:
*验 证 码:

源码中国 www.ymcn.org