ubuntu cli download whole ftp directory 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