Re: wget win a specialni znaky v heslu

From: <mail (zavinac) pp21.cz>
Date: Mon, 15 Dec 2014 22:25:31 +0100
Google tvrdí, že nejsi sám kdo s tím má problémy, mimo to co píšeš se ještě 
objevuje takovéto řešení:

V username má znak @

Turns out the solution was to encode the special chars using HTML notation. 
This is the command that did the trick:
wget -m ftp://user%40example.com:password@example.com


Což ostatně píšou i u zdroje :)
http://users.ugent.be/~bpuype/wget/

If username or password contain non-alphanumeric characters, you need to 
escape them when passing them in urls (rfc1738 %HH) syntax. For example, 
with a username of user (zavinac) domain and password of pass, your url becomes 
http://user%40domain:pass@www.example.net/somefile. When using escaped urls 
in batch files, remember that % itself is a special character, and needs to 
be escaped itself (by using %% instead of %).


-pp-


-----Původní zpráva----- 
From: _R.a.d.e.k_
Sent: Monday, December 15, 2014 2:17 PM
To: servis-internet (zavinac) nawebu.cz
Subject: wget win a specialni znaky v heslu


Zdravim Konferu,

pouzivam wget pro win ve verzi 1.11.4. Rad bych tuto utilitu pouzil ke
stazeni veci pod uctem obsahujici specialni znaky. Heslo obsahuje * & .

Zkousel jsem dat heslo do " i ' , ale nefunguje to. Dale jsem zkousel pred
kazdy znak dat \ ale i toto nejde.




Neresil nekdo z Vas stejny problem?




Diky




_R.a.d.e.k_
Received on 15. 12. 2014, 22:25 CET

This archive was generated by hypermail 2.2.0 : 15. 12. 2014, 22:25 CET