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

查看:35
本文介绍了在 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?

马丁

推荐答案

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 上传期间,发送文件的总大小?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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