Recursive FTP from linux command prompt
An interesting option I just came accross while trying to FTP a complete site down to my linux clinet from the command line
Instead of using the ftp client or mget etc
you can use
wget -r ftp://username:password@www.yourdomain.com/
But I think this may only recurse directories down to a level of 5
So using the switch -l 0
This solves that problem
wget -r -l 0 ftp://username:password@www.yourdomain.com/
Instead of using the ftp client or mget etc
you can use
wget -r ftp://username:password@www.yourdomain.com/
But I think this may only recurse directories down to a level of 5
So using the switch -l 0
This solves that problem
wget -r -l 0 ftp://username:password@www.yourdomain.com/