Subject: Re: pkg building and broken FTP sessions
To: John Klos <email@example.com>
From: grant beattie <grant@NetBSD.org>
Date: 07/05/2004 17:15:49
Content-Type: text/plain; charset=us-ascii
On Mon, Jul 05, 2004 at 03:14:18AM -0400, John Klos wrote:
> >>So, if ftp doesn't create or if it properly destroys the file after the
> >>error, then pkgsrc would move along to the next ftp / http site.
> >The same problem occurs when the ftp transfer is interrupted with only
> >a partial file transferred. Maybe there should be a command line option
> >to ftp to "delete any partially downloaded files" or something.
> In the context of fetching files for a pkgsrc build, it would be a simple=
> matter to see if ftp returns an error on exit and have an option about=20
> what to do in case of that error (like delete the distfile, if it exists).
I just use:
and if it can't grab a distfile that matches the checksum, the
distfile obviously changed ;-)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (NetBSD)
-----END PGP SIGNATURE-----