how to use ftp(1) in batch mode

Eugene Grosbein eugen at grosbein.net
Sat Sep 1 14:45:30 UTC 2018


01.09.2018 18:24, Wojciech Puchar wrote:

>>>>> (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.

There are bad habits in general and a password in an URL is just an example.




More information about the freebsd-hackers mailing list