1. enter into sftp mode
sftp marcuschiu-php56.cloudatron.com
sshpass -p <password> sftp user@host
2. execute Local ls and cd commands
sftp> lls sftp> lcd Desktop
3. copy from host to local current directory
sftp> get text.txt
4. enter local environment, do something, then exit back to sftp mode
sftp> ! exit
5. It places the ~/some_file.txt file into your home directory
sftp -P(port-number here) username@public-ip-address-or-hostname:~/some_file.txt ~/