mlsamuelson.com

SFTP - secure file transfer protocol

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...

No comments

Add your comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.

More information about formatting options

Find Me Around

User login