how to use ftp(1) in batch mode

Wojciech Puchar wojtek at puchar.net
Sat Sep 1 11:24:50 UTC 2018


>>>> (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.
>
> I'm talking not about ftp protocol or your installation here
> but about developing bad habits in general.
>
there are no "bad habits in general". Everything depends on situation.



More information about the freebsd-hackers mailing list