download directory with get ftp 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