标题: 请教FTP的时间和TELNET/系统时间不同的问题 [打印本页] 作者: blueapple2000 时间: 2007-11-15 09:11 标题: 请教FTP的时间和TELNET/系统时间不同的问题 大家好,我的系统是 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有人告诉原因吗???救命啊!!!作者: race 时间: 2007-11-15 09:28
看看你客户机的时间对不对作者: sccdyuebo 时间: 2007-11-15 10:14
看看你FTP SERVER 软件中对时区的定义。proftp默认是GMT作者: blueapple2000 时间: 2007-11-15 13:33
系统上没装PROFTP,只是起用了FTP服务而已.\r\n客户机时间也没错作者: race 时间: 2007-11-15 13:40
GMT 和 CST相差八个小时,一个是GMT时间一个是CST时间,改统一之后,时间就一致了。作者: blueapple2000 时间: 2007-11-15 13:49 标题: 回复 #6 race 的帖子 您没看清楚,我的系统时区是CST,但是FTP登陆进去,创建的时间则是与目前少了16个小时,对照时区,落在了美国的时区,莫非这服务器也有乡思之苦??