NetBSD Problem Report #54713

From martin@aprisoft.de  Sat Nov 23 18:19:21 2019
Return-Path: <martin@aprisoft.de>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 2B0BC7A175
	for <gnats-bugs@gnats.NetBSD.org>; Sat, 23 Nov 2019 18:19:21 +0000 (UTC)
Message-Id: <20191123181911.023295CC7A2@emmas.aprisoft.de>
Date: Sat, 23 Nov 2019 19:19:11 +0100 (CET)
From: martin@NetBSD.org
Reply-To: martin@NetBSD.org
To: gnats-bugs@NetBSD.org
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
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD whoever-brings-the-night.aprisoft.de 9.99.17 NetBSD 9.99.17 (WHOEVER) #320: Wed Nov 20 14:36:21 CET 2019 martin@seven-days-to-the-wolves.aprisoft.de:/work/src/sys/arch/sparc64/compile/WHOEVER sparc64
Architecture: sparc64
Machine: sparc64
>Description:

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.

>How-To-Repeat:
s/a

>Fix:
n/a

NetBSD Home
NetBSD PR Database Search

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