在FTP上传期间,文件的总大小是否被发送? [英] During a FTP upload, the total size of the file is send?

查看:121
本文介绍了在FTP上传期间,文件的总大小是否被发送?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当您通过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?

Martin

Martin

推荐答案

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命令< a>纯粹是为了下载,而不是上传。

Note that the SIZE command defined in RFC 3659 is purely for downloads, not uploads.

这篇关于在FTP上传期间,文件的总大小是否被发送?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆