I have been trying to your the wget kommand to retrieve my website so I can migrate them onto a ContOs 5 VPS.
The problem is I think the file permissions are not being maintained - (I might be wrong but I thought i'd ask)
The wget query is:
[code] wget -rv -nc -T 15 --random-wait ftp://188.121.54.XX:21 --ftp-user=XXXXXXX --ftp-password=XXXXXXX [/code]
I need it to be recursive thus the -r
Can anyone help me with this please.
Thank you.
Regards
Dave
Using wGet to retrive FTP directorys on other servers.
-
- Posts: 1
- Joined: 2012/02/08 23:57:40
-
- Retired Moderator
- Posts: 18276
- Joined: 2006/12/13 20:15:34
- Location: Tidewater, Virginia, North America
- Contact:
Using wGet to retrive FTP directorys on other servers.
Welcome to the CentOS fora. Please see the recommended reading for new users linked in my signature.
You say you "think the file permissions are not being maintained" but show no evidence one way or the other, and do not describe what problems you are having. What kind of system are you retrieving the website tree from? You might be better off using rsync, scp, or lftp to copy it.
You say you "think the file permissions are not being maintained" but show no evidence one way or the other, and do not describe what problems you are having. What kind of system are you retrieving the website tree from? You might be better off using rsync, scp, or lftp to copy it.