15
1
I am trying to get some files from my ftp server from the command line. I am using wget to download the whole folder at once. The command is:
wget -m ftp://username:password@ftp.hostname.com:/path/to/folder
But the problem is, my password contains the '@' symbol. Hence The command becomes
wget -m ftp://username:foo@bar@ftp.hostname.com:/..
due to which, wget tries to resove bar@ftp.hostname.com as the host, which it is not able to. Please help!
2Duplicates an answer given 3 years ago... – xenoid – 2017-07-12T06:38:11.403