LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Howto mirror a web site (https://www.linuxquestions.org/questions/linux-networking-3/howto-mirror-a-web-site-126742/)

ivanatora 12-17-2003 03:51 PM

Howto mirror a web site
 
I tried with rsync, but it didn't work:
Code:

$ rsync --recursive dmshaven.freeservers.com::dmshaven /home/ivanatora/shits/dms/
rsync: failed to connect to dmshaven.freeservers.com: Connection timed out
rsync error: error in socket IO (code 10) at clientserver.c(83)

Although I can browse dmshaven.freeservers.com via web browser it says that cannot connect. I tried to add 'www.' before the hostname with no success.
If I can't use rsync to do this work, what should I try?

fancypiper 12-17-2003 04:23 PM

Try wget

wget -m <url>

The results will be in the directory <url>

trickykid 12-17-2003 04:26 PM

They must have rsync enabled on their site or server from my knowledge.

Use wget to mirror the site.

man wget for many options and the man pages.

david_ross 12-17-2003 04:35 PM

If it is your own site and you have ftp access then "ftpcopy" is also a good bet.

ivanatora 12-17-2003 04:47 PM

Thanks, wget does wodnerfull work :) I've used it so much and there are still features that I don't know. I love wget :)


All times are GMT -5. The time now is 09:34 PM.