From owner-freebsd-questions Fri Aug 25 7:49:57 2000 Delivered-To: freebsd-questions@freebsd.org Received: from static.unixfreak.org (static.unixfreak.org [63.198.170.139]) by hub.freebsd.org (Postfix) with ESMTP id C9E3937B423 for ; Fri, 25 Aug 2000 07:49:53 -0700 (PDT) Received: by static.unixfreak.org (Postfix, from userid 1000) id 977201F1C; Fri, 25 Aug 2000 07:49:53 -0700 (PDT) Subject: Re: ftp timeouts In-Reply-To: <39A67FE0.E7101CDF@wmptl.com> from Nathan Vidican at "Aug 25, 2000 10:17:04 am" To: Nathan Vidican Date: Fri, 25 Aug 2000 07:49:53 -0700 (PDT) Cc: questions@freebsd.org From: Dima Dorfman Reply-To: dima@unixfreak.org X-Mailer: ELM [version 2.4ME+ PL61 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-Id: <20000825144953.977201F1C@static.unixfreak.org> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > While doing webpage development, I often work from a Windows machine, I > enter a dos prompt and run ftp. I usually get a file, shell out of ftp > using the msdos editor to edit said file, then re-upload the file. > Example: > > c:\temp > ftp -i ftp3 > > ftp> get xyz.cgi > ftp> ! edit xyz.cgi > > ftp>put xyz.cgi > > The problem is, that ftp often times out before I leave the editor, and > I'm forced to re-login and get back to where I was. > My question is, is it somehow possible to change the idle timeout of > ftpd, (using FreeBSD 4.1-STABLE)? If so, how? From the ftpd(8) manpage: -t The inactivity timeout period is set to timeout seconds (the de- fault is 15 minutes). So, if you wanted to change the timeout to 30 minutes, you'd change the line in inetd.conf which says ftp stream tcp nowait root /usr/libexec/ftpd ftpd -l to ftp stream tcp nowait root /usr/libexec/ftpd ftpd -l -t 1800 Hope this helps -- Dima Dorfman Finger dima@unixfreak.org for my public PGP key. You have the right to remain silent. Anything you say can and will be misquoted, then used against you. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message