I recently offered to help out with the hosting of a WordPress site. It’s currently hosted somewhere with no shell access – just ftp – and there are a lot of images to transfer.
I quickly figured out I could use wget to mirror the site, using something like:
wget -m ftp://username:firstname.lastname@example.org
However, this broke in this case because the username for the site contained an @ character (the username was
Turns out the solution was to encode the special chars using HTML notation. This is the command that did the trick:
wget -m ftp://user%40example.com:email@example.com