Creating a mirror copy of an internal website:
1] sudo aptitude install vsftpd
2] cd /etc/cron.daily
3] Create file named mirror with content
#Mirrors the 172.16.14.143 ftp server
cd /home/ftp
/usr/bin/wget -nH --mirror ftp://172.16.14.143 -o /root/mirror.log
4] chmod +x mirror
No comments:
Post a Comment