Upload/Download files with SFTP

Tuesday, February 1, 2011 21:01
Posted in category Unix/Linux

Uploading/Downloading files through your *nix console.

Connection:

$ sftp user@domain.com

Available commands:

ls list files
pwd show which directory you are in on the server side
lpwd show which directory you are in on the client side
cd DIRECTORY change current location to DIRECTORY on the server side
lcd DIRECTORY change current location to DIRECTORY on the client side
get FILE download a file (accepts wildcards like “*”)
put FILE upload a file (accepts wildcards like “*”)

You can leave a response, or trackback from your own site.

Leave a Reply

Connect with Facebook