免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3491 | 回复: 5
打印 上一主题 下一主题

请教FTP的时间和TELNET/系统时间不同的问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-11-15 09:11 |只看该作者 |倒序浏览
大家好,我的系统是 SUNOS 5.9\r\n我使用TELNET登陆,进去输入/返回为\r\nsp1:admin > date -u\r\nThu Nov 15 01:04:07 GMT 2007\r\nsp1:admin > date\r\nThu Nov 15 09:04:21 CST 2007\r\n我创建一个TEST目录他的时间为\r\n 512 Nov 15 09:07 test\r\n\r\n但是,我使用FTP登陆进去,随便创建一个目录,他的时间则为\r\n\r\n 512 Nov 14 17:09 test\r\n\r\n\r\nETC/TIMEZONE\r\n------------------------------------------------------\r\n# @(#)init.dfl 1.5 99/05/26\r\n#\r\n# This file is /etc/default/init.  /etc/TIMEZONE is a symlink to this file.\r\n# This file looks like a shell script, but it is not.  To maintain\r\n# compatibility with old versions of /etc/TIMEZONE, some shell constructs\r\n# (i.e., export commands) are allowed in this file, but are ignored.\r\n#\r\n# Lines of this file should be of the form VAR=value, where VAR is one of\r\n# TZ, LANG, CMASK, or any of the LC_* environment variables.\r\n#\r\nTZ=PRC\r\nCMASK=022\r\nLANG=C\r\n\r\n\r\n\r\n-------------------------------------------------------\r\n郁闷啊!!!!!!!!!!!!!!!!!!\r\n有人告诉原因吗???救命啊!!!

论坛徽章:
0
2 [报告]
发表于 2007-11-15 09:28 |只看该作者
看看你客户机的时间对不对

论坛徽章:
0
3 [报告]
发表于 2007-11-15 10:14 |只看该作者
看看你FTP SERVER 软件中对时区的定义。proftp默认是GMT

论坛徽章:
0
4 [报告]
发表于 2007-11-15 13:33 |只看该作者
系统上没装PROFTP,只是起用了FTP服务而已.\r\n客户机时间也没错

论坛徽章:
0
5 [报告]
发表于 2007-11-15 13:40 |只看该作者
GMT 和 CST相差八个小时,一个是GMT时间一个是CST时间,改统一之后,时间就一致了。

论坛徽章:
0
6 [报告]
发表于 2007-11-15 13:49 |只看该作者

回复 #6 race 的帖子

您没看清楚,我的系统时区是CST,但是FTP登陆进去,创建的时间则是与目前少了16个小时,对照时区,落在了美国的时区,莫非这服务器也有乡思之苦??
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP