NetBSD Problem Report #54713

From  Sat Nov 23 18:19:21 2019
Return-Path: <>
Received: from ( [])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "", Issuer " CA" (not verified))
	by (Postfix) with ESMTPS id 2B0BC7A175
	for <>; Sat, 23 Nov 2019 18:19:21 +0000 (UTC)
Message-Id: <>
Date: Sat, 23 Nov 2019 19:19:11 +0100 (CET)
Subject: ftp(1) does not report success or failure of a download
X-Send-Pr-Version: 3.95

>Number:         54713
>Category:       bin
>Synopsis:       ftp(1) does not report success or failure of a download
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Nov 23 18:20:00 +0000 2019
>Originator:     Martin Husemann
>Release:        NetBSD 9.99.17
The NetBSD Foundation, Inc.
System: NetBSD 9.99.17 NetBSD 9.99.17 (WHOEVER) #320: Wed Nov 20 14:36:21 CET 2019 sparc64
Architecture: sparc64
Machine: sparc64

I am using our base system ftp to download things in a script, for example
the MD5 file of a release build on the auto build cluster, and then all sets
mentioned in the file. Basic usage: ftp -o $dir/$file $url

Happens rarely, but sometimes a download fails (networking issue or whatever).

It would be nice if ftp(1) would report this failure in its exit status.



NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD:,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.