LFTP is a console FTP client with support for FTPS, SFTP, HTTPS, etc.
Install into Ubuntu / Debian like this:
sudo apt update
sudo apt install lftp
In CentOS:
sudo yum install lftp
I will give a few examples of the launch:
lftp ftp://user@host
lftp ftp://user@host:21
Example of downloading and sending data:
pget ixnfo.txt
put ixnfo.txt
mirror remote local
If the data transfer is interrupted, you can resume as follows:
pget -c ixnfo.txt
put -c ixnfo.txt