Chinaunix

标题: 如何设置Solaris Ftp服务器,使得客户端可以永久连接? [打印本页]

作者: forey    时间: 2006-10-03 14:06
标题: 如何设置Solaris Ftp服务器,使得客户端可以永久连接?
客户端ftp到Solaris FTP服务器,15分钟后连接被关闭,请问如何设置Solaris Ftp服务器,使得客户端为长连接,永久不断开?\r\n\r\n客户端15分钟后访问Solaris FTP服务器后显示如下:\r\n421 Timeout (900 seconds): closing control connection.\r\nConnection closed by remote host.\r\n\r\n如何设置?
作者: forey    时间: 2006-10-04 12:41
有谁能帮忙解决一下,谢谢!
作者: forey    时间: 2006-10-04 12:53
网上资料说改动 /etc/ftpd/ftpaccess 文件的 \r\n# limit-time    anonymous       30\r\n如何改动为才能使得服务器端永久不会断开客户端ftp连接?\r\n\r\nSUN 的工程师这些天休息,无法联系,那位高手能够帮忙解决一下,谢谢。
作者: badb0y    时间: 2006-10-04 16:04
你用的是SUN默认的FTP吗,还是你后面装的,,,???
作者: susbin    时间: 2006-10-05 04:17
$ man ftpd\r\n...\r\n     -T maxtimeout\r\n           Sets the maximum  allowable  timeout  period  to  max-\r\n           timeout  seconds. The default maximum timeout limit is\r\n           7200 second (two  hours).  You  can  override  the  -T\r\n           option through use of the ftpaccess(4) file.\r\n\r\n     -t timeout\r\n           Sets the inactivity timeout period to timeout seconds.\r\n           The   default   timeout  period  is  900  seconds  (15\r\n           minutes).  You can override the -t option through  use\r\n           of the ftpaccess(4) file.\r\n...\r\n\r\n\r\nThere\'s an article about it:\r\n\r\nSolaris Timeouts on large file transfers \r\nhttp://techrepublic.com.com/5208 ... amp;threadID=152507




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2