smtp-cli is an SMTP command line client with support for advanced features such as STARTTLS, SMTP-AUTH, or IPv6. It also has scriptable message composition capabilities supporting anything from simple plain-text messages right up to building complex HTML emails with alternative plain-text part, attachments, and inline images. It's also a convenient tool for testing and debugging SMTP servers' setups. smtp-cli can be used to check a given server's capabilities, to test your server's setup, or to create and dispatch email messages. The command line interface is intuitive, and everything is scriptable and can run in a completely non-interactive mode from scripts or cron jobs. smtp-cli is ideal for shipping log files from remote machines, running periodic mail delivery test loops, etc.
lftp is a sophisticated command line based file transfer program. Supported protocols include FTP, HTTP, SFTP, and FISH. It has a multithreaded design allowing you to issue and execute multiple commands simultaneously or in the background. It also features mirroring capabilities and will reconnect and continue transfers in the event of a disconnection. Also, if you quit the program while transfers are still in progress, it will switch to nohup mode and finish the transfers in the background. Additional protocols supported: FTP over HTTP proxy, HTTPS and FTP over SSL, BitTorrent protocol. IPv6 is fully supported. There are lots of tunable parameters, including rate limitation, number of connections limitation and more.