开发者

Is FTP Communication Synchronous?

开发者 https://www.devze.com 2023-02-10 01:56 出处:网络
Whenever FTP Client issues USER command to FTP server, (1) Server immediately replies with TCP Ack (2) After that, It will send FTP 331 response (asking for password)

Whenever FTP Client issues USER command to FTP server,

(1) Server immediately replies with TCP Ack

(2) After that, It will send FTP 331 response (asking for password)

Both the communications (1) and (2) are synchronous开发者_运维知识库 or Async?


The communication itself is synchronous. There is a command channel and a data channel opened for each transfer. Both are synchronous in the sense that one command must be completed until you can issue a new one.

(NOTE this has nothing to do with how the sockets are handled synchronously or asynchronously on client or server side)

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号