Using wGet to retrive FTP directorys on other servers.

If it doesn't fit in another category, ask it here.
Post Reply
davidawbrown
Posts: 1
Joined: 2012/02/08 23:57:40

Using wGet to retrive FTP directorys on other servers.

Post by davidawbrown » 2012/02/09 00:05:32

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

pschaff
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.

Post by pschaff » 2012/02/11 17:52:17

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.

Post Reply

Return to “CentOS 5 - Miscellaneous Questions”