Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question

migrated from Sep 1 '10 at 7:40

This question came from our site for professional and enthusiast programmers.

up vote 8 down vote accepted

Use --password=password or --ftp-password.

share|improve this answer

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 .

share|improve this answer
# replacement is exactly what i need – vladkras May 28 '14 at 12:08

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.