During a FTP upload, the total size of the file is send?

前端 未结 2 1750
悲&欢浪女
悲&欢浪女 2021-01-21 12:50

When you send a file by HTTP, web browsers send the total file size in the http header.

Do you think it\'s the same with the FTP protocole?

Martin

2条回答
  •  死守一世寂寞
    2021-01-21 13:17

    No, an FTP file transfer is treated as a stream of bytes that ends when the connection is closed normally. There is a new "SIZE" command for FTP defined in RFC3659, but this is a fairly recent addition that I would guess isn't seeing a lot of use.

提交回复
热议问题