linux download folder from server command line code example
Example: linux download ftp get all files and folders
wget -r --user="yourUser" --password="yourPassword" ftp://server.com/ -m
wget -r --user="yourUser" --password="yourPassword" ftp://server.com/ -m