#1  
Old 25th October 2012, 07: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
The Following User Says Thank You to holljac For This Useful Post:
ignore (25th October 2012)
Sponsored Links
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Centos FTP from command line Polk Installation/Configuration 3 15th August 2010 19:11
proftpd site commands warlock General 2 15th April 2010 11:27
404 error if wget unzip instead of FTP Toucan General 3 18th March 2010 23:13
wget question bschultz Programming/Scripts 7 20th February 2008 09:24


All times are GMT +2. The time now is 15:27.


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