Wget and ftp to move site

Discussion in 'HOWTO-Related Questions' started by holljac, Oct 25, 2012.

  1. holljac

    holljac New Member

    I saw the how listed today titled "Using Wget With FTP To Download/Move Web Sites Recursively." So I gave it a try. I created a directory in my home folder and cd into it. I then ssh into the remote server and issued the command "wget -m ftp://username:p[email protected]/public_html." It works great. Very fast. What I encountered though was that is created a new folder inside of the folder I had originally created titled "www.mydomain.tld". Is it possible to do this without it creating a new folder, just copying the files directly into the directory that I ssh from?
     

Share This Page