4

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.

8

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

3

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:

user1:12%23j@myserver:port

Note, that I replaced the # character with its URL-code %23 .

  • 1
    # replacement is exactly what i need – vladkras May 28 '14 at 12:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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