关于ftp下显示的时间和系统时间不一致的解决方法
2016-06-16 11:05
477 查看
也许有的朋友会发现,当FTP服务器搭建好以后,显示的时间却是GMT时间,这时大家可以参考我下面的方法进行修改。
1. VSFTP修改方法:
2. proftpd修改方法:找到
根据此方法修改后,FTP文件就能显示当地时间了~
1. VSFTP修改方法:
vi /etc/vsftpd/vsftpd.conf在最后加入一行:
# This directive enables listening on IPv6 sockets. By default, listening # on the IPv6 "any" address (::) will accept connections from both IPv6 # and IPv4 clients. It is not necessary to listen on *both* IPv4 and IPv6 # sockets. If you want that (perhaps because you want to listen on specific # addresses) then you must run two copies of vsftpd with two configuration # files. # Make sure, that one of the listen options is commented !! ....... use_localtime=YES按ESC键,执行下面的保存命令
:wq存盘后,重启vsftpd:
service vsftpd restart
2. proftpd修改方法:找到
vi /usr/local/proftpd/etc/proftpd.conf或者
vi /etc/proftpd.conf找到
UseReverseDNS off下面加入(不使用GMT时间):
TimesGMT off按ESC键,执行下面的保存命令
:wq存盘后,重启proftpd
service proftpd restart
根据此方法修改后,FTP文件就能显示当地时间了~
相关文章推荐
- 用vsftp快速搭建ftp服务器
- 实现FTP整站上传的批处理代码
- 批处理向FTP上传具有指定属性的文件(增量备份)
- 使用 iisftpdr.vbs 创建 FTP 虚拟目录的方法
- Delphi解析FTP地址的方法
- IIS里FTP多用户设置方法,终于不用Serv-U了
- FTP 服务器关于权限的问题
- IIS FTP PASV模式下更改端口范围的方法
- FTP 常用命令 使用说明
- 通过批处理修改FTP账号和密码
- FTP下载服务器 TYPSoft FTP Server V1.11 简体中文版 下载
- FTP 分类账户设置经验谈
- php实现curl模拟ftp上传的方法
- 批处理bat下载FTP服务器上某个目录下的文件
- php建立Ftp连接的方法
- FTP服务器端软件Serv-U FTP Server 6.4.0.5&0.4 Final 汉化版 下载
- ftp突然直接连接不上了的解决方法
- ftp自动上传脚本分享
- FTP服务器的防火墙通用设置规则介绍
- FTP 服务器的部署和维护心得