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

I am trying to access a password-protected ftp site. I have user "foo" pass "pass#1" When I enter them directly, it works.

I am now trying to craft a single URL that contains the user/pass within (e.g., but it doens't work. I tried URLEncoding the # and failed.

How do I properly encode the # sign?

share|improve this question
This method works fine in Firefox. – mr-euro Oct 26 '09 at 7:29
Indeed, I tested with Firefox and Wireshark, and pass%231 is being transmitted as pass#1. – Arjan Oct 26 '09 at 9:22
up vote 3 down vote accepted

Use %23 to replace the hash # sign in pass#1.

share|improve this answer

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.