C:\adc_ftp>ftp sysadmin:ftp@localhost <----Looking for a 1 line login like this
Unknown host sysadmin:ftp@localhost. <---doesn't work
ftp> bye
这有效,但不适用于我要登录的方式:
C:\adc_ftp>ftp localhost
Connected to myPC.xxx.com.
220-FTP server
WarFTPd 1.82.00-RC11 (Sep 22 2006) Ready
(C)opyright 1996 - 2006 by Jarle (jgaa) Aase - all rights reserved.
220 Please enter your user name.
User (myPC.xxx.com:(none)): sysadmin
331 User name okay, need password.
Password:
230 User sysadmin logged in from host localhost (127.0.0.1)
ftp>
我正在尝试制作一个登录到ftp服务器的批处理文件。我试着像例子这一个,但它并不需要登录信息,只是坐在了“请输入您的用户名”。
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句