fetch fails, ftp works question

Nelis Lamprecht nelis at 8ball.co.za
Mon Feb 2 05:03:23 PST 2004

On Mon, 2004-02-02 at 14:25, Ion-Mihai Tetcu wrote:
> Hi,
> I have the feeling this is in some FAQ, but I don't understand it.
> I have a ftp server on which I have the distfiles and I'm using it as
> MASTER_SITE_OVERRIDE=ftp://user:pass@host/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR+DIST_SUBDIR/}
> It usually work ok on make fetch. But sometimes it doesn't, e.g.
> fetch ftp://user:pass@host/pub/FreeBSD/ports/distfiles/MailScanner-4.25-14.tar.gz
> fetch: ftp://user:pass@host/pub/FreeBSD/ports/distfiles/MailScanner-4.25-14.tar.gz: File unavailable (e.g., file not found, no access)
> However the following works:
> ftp ftp://user:pass@host/pub/FreeBSD/ports/distfiles/MailScanner-4.25-14.tar.gz
> Can somebody enlighten me ?

Try using the FTP_LOGIN and FTP_PASSWORD variables. If all else fails
you can try the FETCH_CMD variable in /etc/make.conf and change it to
use ftp, wget etc. Oh, not sure if that was a typo above but it should

Nelis Lamprecht
PGP: http://www.8ball.co.za/pgp/nelis.key
"Unix IS user friendly.. It's just selective about who its friends are."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20040202/fdcb2b6c/attachment-0001.bin

More information about the freebsd-questions mailing list