FTP可以有多个TCP连接用于多个并行文件传输 [英] Can FTP have multiple TCP connection for multiple parallel file transfer
问题描述
从以下网址读取FTP协议规范:(http://www.pcvr.nl/tcpip/ftp_file.htm)。我遇到了这个FTP与我们描述的其他应用程序不同,因为它使用两个TCP连接来传输文件。我的问题是,FTP可以有多个TCP连接用于多个并行文件传输,例如,我可以通过两个TCP连接并行传输两个文件,这是定制还是标准化?
尽管理论上可以让FTP服务器支持多个并发传输,但它不受 RFC 或任何已知的实现。
该块很简单,控制连接在接收到传输请求后,在数据传输完成之前不会返回最终状态或接受新命令。因此,尽管您可以排队另一个传输请求,但实际上服务器不会处理它,直到当前的传输请求完成。
如果您想要多个文件传输,只需记录日志进入FTP服务器多次使用不同的程序或命令行窗口,并且每个都启动一次传输。
While reading the FTP protocol specification from : (http://www.pcvr.nl/tcpip/ftp_file.htm). I came across this "FTP differs from the other applications that we've described because it uses two TCP connections to transfer a file". My question is, can FTP have multiple TCP connection for multiple parallel file transfer, for example can I transfer two files in parallel over two TCP connections, is this a matter of customization or standardization?
While it would be theoretically possible to make an FTP server support multiple, concurrent transfers, it's not supported by the RFC or any known implementation.
The block is a simple one in that the control connection, after receiving a transfer request, does not return a final status or accept new commands until the data transfer is completed. Thus, though you could queue up another transfer request it wouldn't actually be processed by the server until the current one completes.
If you want multiple file transfers, just log into the FTP server multiple times using different programs or command-line windows and have each initiate a transfer.
这篇关于FTP可以有多个TCP连接用于多个并行文件传输的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!