If you want to use FTP commands through a secured login session, here is a solution : sftp. SFTP can be activated on a remote server running openssh-server so that you will be able to run any FTP commands.
All you have to do is to add the following line into the openssh server configuration file /etc/ssh/sshd_config :
root@localhost:~# echo “Subsystem sftp /usr/libexec/openssh/sftp-server” >> /etc/ssh/sshd_config
Reload you configuration file :
root@localhost:~# /etc/init.d/sshd reload
To open a ftp session :
You will be in your default home directory. For instance, if you want to download a file on your own computer, use the get command.
To leave your session, just type quit.