Page 1 of 1

Using wGet to retrive FTP directorys on other servers.

Posted: 2012/02/09 00:05:32
by davidawbrown
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.

Posted: 2012/02/11 17:52:17
by pschaff
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.