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…
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:
curl: (67) Access denied: 530
The 67 is an error code from curl (see also http://curl.haxx.se/docs/manpage.html) and means that “The user name, password, or similar was not accepted and curl failed to log in.”
Now say the original string would be this:
curl -u Login:Pass%Word
I’ve tried the following solutions that I found on the net:
curl -u Login:Pass%25Word
curl -u Login:Pass%%Word
curl -u Login:Pass^%Word
curl -u Login:Pass^%%Word
However.. I ALWAYS get the Access denied.
Could someone help me out, please?
I have just replayed your case: made user test / some%password and secured my site.
These two commands works:
curl -u 'test:some%password'curl -u test:some%passwordIt seems you just using wrong password or misspelled server name