FTP using .netrc

Matthew Seaman m.seaman at infracaninophile.co.uk
Mon Feb 1 10:26:56 UTC 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 01/02/2010 10:11, Fbsd1 wrote:

> 
> machine ftp.FreeBSD.org
> login anonymous
> password FBSD at 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.

Change your 'mget' commands into 'mreget'

Or just use wget in mirror-mode...

	Cheers,

	Matthew

- -- 
Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
                                                  Kent, CT11 9PW
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAktmrGcACgkQ8Mjk52CukIzm9ACghwg5MhvKCSqAca621AKg6It/
iD4An3/4spV6EeaCkizbTyKKRFZRNKeC
=dHOF
-----END PGP SIGNATURE-----


More information about the freebsd-questions mailing list