i need to download all files from an FTP address using wget. I'm currently using this code:
wget -m ftp://user:[email protected]
However, my username for accessing FTP is something like user@domain, so i would get
wget -m ftp://user@domain:[email protected]
The command fails because of the @ in the username field. How can i escape the @? I wasn't able to find any answer on Google.
Solution was to use
wget -m --user "user@domain" --password "password" ftp://ip.of.old.host
As fedorqui suggested but adding ftp:// before ip.of.old.host.
Thanks!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With