Date: Mon, 1 Feb 2010 21:52:24 +0100 From: J65nko <j65nko@gmail.com> To: Fbsd1 <fbsd1@a1poweruser.com> Cc: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: FTP using .netrc Message-ID: <19861fba1002011252u249f52j4b9e15cd862a7baa@mail.gmail.com> In-Reply-To: <4B66A8E8.50903@a1poweruser.com> References: <4B66A8E8.50903@a1poweruser.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Feb 1, 2010 at 11:11 AM, Fbsd1 <fbsd1@a1poweruser.com> 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 .;)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19861fba1002011252u249f52j4b9e15cd862a7baa>