how to use ftp(1) in batch mode

Eugene Grosbein eugen at grosbein.net
Fri Aug 31 14:01:44 UTC 2018


31.08.2018 20:52, Wojciech Puchar write:

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



More information about the freebsd-hackers mailing list