HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   HOWTO-Related Questions (http://www.howtoforge.com/forums/forumdisplay.php?f=2)
-   -   Wget and ftp to move site (http://www.howtoforge.com/forums/showthread.php?t=59236)

holljac 25th October 2012 06:49

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?


All times are GMT +2. The time now is 16:20.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.