title: Curl : How to pass password containing a percent sign
body: <p>I'm not using PHP, but another language for this.. just FYI. However, I included the PHP as a tag, just in case someone there has a solution...</p>
  
  <p>At the moment I'm first trying to get the string right (to download a file through curl from a remote server to a local domain). Anyway, the password contains a percent sign (%).
  When I do this, I get the following error on my command line:</p>
  
  <pre><code>curl: (67) Access denied: 530
  </code></pre>
  
  <p>The 67 is an error code from curl (see also <a href="http://curl.haxx.se/docs/manpage.html" rel="nofollow">http://curl.haxx.se/docs/manpage.html</a>) and means that "The user name, password, or similar was not accepted and curl failed to log in."</p>
  
  <p>Now say the original string would be this:</p>
  
  <pre><code>curl -u Login:Pass%Word
  </code></pre>
  
  <p>I've tried the following solutions that I found on the net:</p>
  
  <pre><code>curl -u Login:Pass%25Word
  curl -u Login:Pass%%Word
  curl -u Login:Pass^%Word
  curl -u Login:Pass^%%Word
  </code></pre>
  
  <p>However.. I ALWAYS get the Access denied.</p>
  
  <p>Could someone help me out, please?</p>