Download Mediafire时间戳?

Download Mediafire时间戳?,download,http-headers,timestamp,gnu-coreutils,Download,Http Headers,Timestamp,Gnu Coreutils,如果我从 做 stat -c %y test.txt 只要我下载文件,日期和时间就会显示出来。有没有办法从mediafire下载并保留时间戳 更新 根据Marc B answer,这些是MediaFire的响应头 HTTP/1.1 200 OK Date: Sat, 28 Apr 2012 15:48:49 GMT Cache-Control: no-cache, must-revalidate Pragma: no-cache Expires: 0 Vary: Accept-Encodin

如果我从

stat -c %y test.txt
只要我下载文件,日期和时间就会显示出来。有没有办法从mediafire下载并保留时间戳

更新 根据Marc B answer,这些是MediaFire的响应头

HTTP/1.1 200 OK
Date: Sat, 28 Apr 2012 15:48:49 GMT
Cache-Control: no-cache, must-revalidate
Pragma: no-cache
Expires: 0
Vary: Accept-Encoding
Content-Encoding: gzip
Content-Length: 16328
Connection: close
Content-Type: text/html; charset=UTF-8
Server: MediaFire

上次修改的
头丢失,因此我们无法知道时间戳。

除非mediafire在HTTP响应中输出适当的头,否则绝对无法知道原始时间戳是什么,因此您的下载应用程序(浏览器?curl?)将只使用当前时间。

上次修改的时间是传递服务器端时间戳的常用时间。