Aug
05
If you are trying to connect to a remote host with wget and wget is instantly throwing a “bad port number” error to your face without even trying to connect than please note that it is due to certain special characters which you have supplied to wget in the password filed
like this command gives an error
wget -r ftp://ftpuser:jyi#hh$jh#k?h@1.3.4.5
however if you remove special characters like #,$ and ? from the password than the same will work fine
so before connecting with wget you should change your password to simple one with the special characters
no comment untill now