Windows通过IE浏览器访问FTP资源时间不一致

版权声明: https://blog.csdn.net/PlatoWG/article/details/81223000

一、时间相差8小时

vsftp安装的时候默认使用GMT时间,修改vsftp配置文件使用本地时间即可

use_localtime=yes

二、文件时间差一年

这个是微软的BUG

当通过IE访问FTP时,会把取得文件的时间和GMT时间做比较,如果比GMT时间大就自动减少一年。

设置使用本地时间后,过8小时就自动调整过来了

猜你喜欢

转载自blog.csdn.net/PlatoWG/article/details/81223000