View Single Post
  #1  
Old 25th October 2012, 06:49
holljac holljac is offline
Junior Member
 
Join Date: Aug 2005
Posts: 10
Thanks: 0
Thanked 1 Time in 1 Post
Default Wget and ftp to move site

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:password@www.mydomain.tld/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?
Reply With Quote
Sponsored Links