本文介绍了在FTP上传期间,文件的总大小是否被发送?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 29岁程序员,3月因学历无情被辞! 当您通过HTTP发送文件时,Web浏览器会将总文件大小发送到http标头中。When you send a file by HTTP, web browsers send the total file size in the http header.您认为它与FTP协议相同吗?Do you think it's the same with the FTP protocole? MartinMartin推荐答案 FTP有许多传输模式,但没有他们事先发送整个文件的长度。您可以在 RFC 959 第3.4节中看到它们。FTP has a number of transfer modes, but none of them send the entire length of the file beforehand. You can see them all in RFC 959, section 3.4.请注意,在 RFC 3659中定义的SIZE命令纯粹是为了下载,而不是上传。Note that the SIZE command defined in RFC 3659 is purely for downloads, not uploads. 这篇关于在FTP上传期间,文件的总大小是否被发送?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!
07-19 02:20
查看更多