My FTP password has a colon; when I do a
wget with my user name and password, it keeps complaining that a "bad port number" is being used. Is there a solution? I tried the \: trick but did not help.
migrated from stackoverflow.com Sep 1 '10 at 7:40
This question came from our site for professional and enthusiast programmers.
You need to encode special characters in your password using URL encoding. For example, if the user is "user1" and the password "12#j" the resulting URL would look as follows:
Note, that I replaced the # character with its URL-code %23 .