I have a question regarding wget which I can’t seem to figure out.
I am using the following command to download the whole content of my FTP server (which works fine)
wget -m -P c:\ ftp://user:password@xxx.xxx.xxx.xxx
The problem is that this creates a folder in c:\ called ‘xxx.xxx.xxx.xxx’ and places the whole FTP server content in this directory.
I do not wish for it to create this directory and just put the whole FTP directory structure directly in c:\
How can I specify this with wget?
Thank you in advance!
Use
-nH (--no-host-directories).