how to use ftp(1) in batch mode

Ian Lepore ian at freebsd.org
Fri Aug 31 18:46:39 UTC 2018


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


More information about the freebsd-hackers mailing list