- 论坛徽章:
- 0
|
脚本是这样的:
[root@Test mydir]# more ftp.txt
open 192.168.8.55
USER more1999 more1999
bye
[root@Test mydir]# cat ftp.txt | ftp -n
'AUTH': command not understood.
'AUTH': command not understood.
KERBEROS_V4 rejected as an authentication type
?Invalid command
[root@Test mydir]# ftp
ftp>; open 192.168.8.55
Connected to 192.168.8.55.
220 Serv-U FTP Server v4.0 for WinSock ready...
500 'AUTH': command not understood.
500 'AUTH': command not understood.
KERBEROS_V4 rejected as an authentication type
Name (192.168.8.55:root): more1999
331 User name okay, need password.
Password:
230 User logged in, proceed.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp>; !
[root@Test mydir]
ftp是交互运行的才不可以这样吗? |
|