Interaction Between FTP Server and client

Photo by panumas nikhomkhai from Pexels

The client sends a Passive[PASV] commands to the server which invokes passive modes
The server responds with a 227 code with IP address and port of data socket

The client sends a retrieve[RETR] command plus, the name of the file to be retrieved
If the client is authorised to access the file the server sends a 150 code[request is successful and the file is about to be transferred]

Now to establish the connection to be used connection the client sends an SYC[synchronise] command
The server replies with an acknowledgement and so does the client

The server sends part of the file and the client acknowledges it and this continues until the whole file is received.

Thanks for reading please leave comments of suggestions or contact me @black_strok3

原文链接:Interaction Between FTP Server and client

© 版权声明
THE END
喜欢就支持一下吧
点赞10 分享
The best way out is always through.
一路走到底,你就会发现那个最佳出口
评论 抢沙发

请登录后发表评论

    暂无评论内容