wget下载指定用户名密码

1、
# wget ftp://ftp.xxx.com/%D4%C6%BC%C6%CB%E3%CA%C2%D2%B5%B2%BF/%D4%C6%BC%C6%CB%E3%CF%EE%C4%BF%BF%AA%B7%A2%B2%BF/%D1%D0%B7%A2%D7%CA%C1%CF%C9%CF%B4%AB/%B4%FD%B2%E2%B0%E6%B1%BE/%BE%AD%D0%C5%CE%AF%D0%E9%C4%E2%BB%AF%CF%EE%C4%BF%A3%A8%D7%EE%D6%D5%B0%E6%B1%BE%A3%A9%2020120810/%B0%B2%D7%B0%B0%FC/iccs-h_20120810/CentOS-6.0.iso --user [email protected] --password mima\!@
--2012-08-13 22:02:10--  ftp://ftp.xxx.com/%D4%C6%BC%C6%CB%E3%CA%C2%D2%B5%B2%BF/%D4%C6%BC%C6%CB%E3%CF%EE%C4%BF%BF%AA%B7%A2%B2%BF/%D1%D0%B7%A2%D7%CA%C1%CF%C9%CF%B4%AB/%B4%FD%B2%E2%B0%E6%B1%BE/%BE%AD%D0%C5%CE%AF%D0%E9%C4%E2%BB%AF%CF%EE%C4%BF%A3%A8%D7%EE%D6%D5%B0%E6%B1%BE%A3%A9%2020120810/%B0%B2%D7%B0%B0%FC/iccs-h_20120810/CentOS-6.0.iso
           => “CentOS-6.0.iso”
Resolving ftp.xxx.com... 10.10.10.52
Connecting to ftp.xxx.com|10.10.10.52|:21... connected.
Logging in as [email protected] ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD (1) /\324Ƽ\306\313\343\312\302ҵ\262\277/\324Ƽ\306\313\343\317\356Ŀ\277\252\267\242\262\277/\321з\242\327\312\301\317\311ϴ\253/\264\375\262\342\260汾/\276\255\320\305ί\320\351\304⻯\317\356Ŀ\243\250\327\356\326հ汾\243\251 20120810/\260\262װ\260\374/iccs-h_20120810 ... done.
==> SIZE CentOS-6.0.iso ... 4432543744
==> PASV ... done.    ==> RETR CentOS-6.0.iso ... done.

    [                  <=>                  ] 820,452,424 43.0M/s

2、注解
--user [email protected] --password mima\!@
其中
(1)      [email protected]为用户名
(2)    mima\!@其实密码为"mima!@",之所以加反斜杠“\”是因为密码有特殊字符"!@",所以前面加反斜杠

你可能感兴趣的:(wget)