From owner-freebsd-hackers@freebsd.org Fri Aug 31 18:46:39 2018 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8E173FD4C44 for ; Fri, 31 Aug 2018 18:46:39 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound1a.eu.mailhop.org (outbound1a.eu.mailhop.org [52.58.109.202]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0FEC9804F8 for ; Fri, 31 Aug 2018 18:46:38 +0000 (UTC) (envelope-from ian@freebsd.org) X-MHO-RoutePath: aGlwcGll X-MHO-User: 2b192847-ad4e-11e8-a747-09a40681ccbf X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Originating-IP: 67.177.211.60 X-Mail-Handler: DuoCircle Outbound SMTP Received: from ilsoft.org (unknown [67.177.211.60]) by outbound1.eu.mailhop.org (Halon) with ESMTPSA id 2b192847-ad4e-11e8-a747-09a40681ccbf; Fri, 31 Aug 2018 18:46:29 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id w7VIkRJN020321; Fri, 31 Aug 2018 12:46:27 -0600 (MDT) (envelope-from ian@freebsd.org) Message-ID: <1535741187.33841.80.camel@freebsd.org> Subject: Re: how to use ftp(1) in batch mode From: Ian Lepore To: Wojciech Puchar , Eugene Grosbein Cc: freebsd-hackers@freebsd.org Date: Fri, 31 Aug 2018 12:46:27 -0600 In-Reply-To: References: <5B87F083.6080804@grosbein.net> <99dde87e-1ddf-e1bc-a1a1-081718100f51@grosbein.net> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.18.5.1 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Aug 2018 18:46:39 -0000 On Fri, 2018-08-31 at 20:37 +0200, Wojciech Puchar wrote: > > > > > > > > thank you. it works. actually even without netrc > > > > > > (echo command1;echo command2)|ftp ftp://user:password@server/ > > You better not develop a habit typing passwords in command line or > > URLs, this is quite insecure. > > > > > why it is less secure as long as it is my account with  > security.bsd.see_other_uids=0 set on server or even my own computer. > My advice: Just ignore them. A certain type of person simply cannot resist lecturing about security, even when they know absolutely nothing about your application or context. -- Ian