FTP or SFTP Using the CLI

Is there a way to transfer a file using FTP or SFTP through the CLI/cmd? Thanks.