From owner-freebsd-questions@FreeBSD.ORG Mon Feb 1 20:52:26 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 80737106566B for ; Mon, 1 Feb 2010 20:52:26 +0000 (UTC) (envelope-from j65nko@gmail.com) Received: from mail-bw0-f213.google.com (mail-bw0-f213.google.com [209.85.218.213]) by mx1.freebsd.org (Postfix) with ESMTP id 14EA38FC15 for ; Mon, 1 Feb 2010 20:52:25 +0000 (UTC) Received: by bwz5 with SMTP id 5so1770155bwz.3 for ; Mon, 01 Feb 2010 12:52:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=Wy8o6eDDVBSfxkA/yMgH/tIV2eFw4D4AxRUTuPSvBtY=; b=YpMlop8s2rwlFUtSOBKPhQ2sDDxztJptL2G0THjB0d9xillYIs2JsnkwhD3tCICnta JAkNrZ/nvWd5TbQXtotIqMjAQFyS12kgHQUF1zO+dCBo5BPg9VYwW9+tBZa8Nliv0m2P mwv6IwzrOSr8TcNlk+Xdk9/iIO2rFWW0WSavA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=YNUYu4MAfha1NpryfRsLLOKGZRq6Ov7yFU8w01nYIgGA/oS6MJVIPaO5nRPEWnvpme 08bu7nMqtZ1RsfyRsddING90BJoBbWXiIky3sYvP5Fg5T+GCF6fVQnvA5dyKOm//I38+ Rl2ERvUtPQOpMSkB1VxBRK5s8+pMBYSyQZ3Yk= MIME-Version: 1.0 Received: by 10.204.148.89 with SMTP id o25mr3393274bkv.129.1265057544647; Mon, 01 Feb 2010 12:52:24 -0800 (PST) In-Reply-To: <4B66A8E8.50903@a1poweruser.com> References: <4B66A8E8.50903@a1poweruser.com> Date: Mon, 1 Feb 2010 21:52:24 +0100 Message-ID: <19861fba1002011252u249f52j4b9e15cd862a7baa@mail.gmail.com> From: J65nko To: Fbsd1 Content-Type: text/plain; charset=ISO-8859-1 Cc: FreeBSD Questions Subject: Re: FTP using .netrc X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Feb 2010 20:52:26 -0000 On Mon, Feb 1, 2010 at 11:11 AM, Fbsd1 wrote: > Goal is to download the install source directory tree so I can use it as > an target for local ftp sysinstall. > > The problem is that the FreeBSD ftp server keeps timing out before > everything is downloaded. This is the error message ftp gives me. > > 421 Service not available, remote server timed out. Connection closed > > This is the command line command used to launch the ftp session > ftp -v ftp.FreeBSD.org > > It defaults to using /root/.netrc which is shown below > > > machine ftp.FreeBSD.org > login anonymous > password FBSD@home.com > macdef init > prompt off > cd /pub/FreeBSD/releases/i386/8.0-RELEASE > epsv4 off > mget ERRATA.HTM ERRATA.TXT HARDWARE.HTM HARDWARE.TXT README.HTM > mget README.TXT RELNOTES.HTM RELNOTES.TXT cdrom.inf docbook.css > $ getdir base catpages dict doc games info kernels manpages ports proflibs src > quit > > macdef getdir > ! mkdir $i > mget $i/* > > > Question is how can I make FTP resume the download at the place it timed > out. IE not start at the beginning and re-download all the same files > all ready received. ftp -vR ftp.FreeBSD.org just starts downloading from > the beginning again. That .netrc looks familiar ;) I never had that issue, but I always used a ftp mirror site listed in the handbook, instead of one of the busiest ftp sites in the world .;)