As man wget
says:
GNU Wget is a free utility for non-interactive download of files from the Web. It supports HTTP, HTTPS, and FTP protocols, as well as retrieval through HTTP proxies.
Command:
wget ftp://X.X.X.X/path/to/file --ftp-user=xxx --ftp-password=xxx