sftp username@hostname.com
login to remote server with sftp
ls
list files in remote directory
lls
list files in local directory
cd ..
move up one directory on remote
lcd ..
move up on directory on local
pwd
show current path on remote
lpwd
show current path on local
mkdir / lmkdir and rm / lrm hold to the same pattern
put filename.txt
transfer filename.txt from current local directory to current remote directory
get filename.txt
transfer filename.txt from current remote directory to current local directory
note: you can include paths to files outside of current directories...
Add your comment