Hello, all!
How can I use ftp commands for autoconnection to ftp-server from from UNIX script?
Shell is sh.
I have login and pass (I should connect not as anonymous).
By this time I have tried the next (Server-name is ftp:\\serv.com, user is 'user' and pass is 'pass').
1. ftp -P serv.com user pass
answer is: '-P unknown option.'
But I got it from man ftp.
Strange...
2. ftp serv.com user pass
anser is: 'usage: ftp host-name [port]'.
and etc...
I'm not advanced in UNIX, so, sorry for stupid questions
Please, feel free to ask me if need
Thx. a lot!