tools:sftp
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
tools:sftp [2025/09/22 01:13] – created Humphrey Boa-Gart | tools:sftp [2025/09/30 22:44] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Secure File Transfer Protocol (SFTP) ====== | ====== Secure File Transfer Protocol (SFTP) ====== | ||
- | **Secure File Transfer Protocol** //(or **SFTP**)//, | + | **Secure File Transfer Protocol** //(or **SFTP**, and also known as **SSH File Transfer Protocol**)//, is an extension of [[tools: |
+ | ===== Using SFTP ===== | ||
+ | SFTP is a widely-supported protocol, so you can use it in a variety of applications. For Linux, BSD & MacOS users, your local [[tools: | ||
+ | |||
+ | ==== Connecting ==== | ||
+ | |||
+ | Connecting to an SFTP server works exactly the same as connecting to an [[tools: | ||
+ | |||
+ | $ sftp username@domain.com | ||
+ | | ||
+ | or | ||
+ | | ||
+ | $ sftp username@123.123.123.123 | ||
+ | |||
+ | Since SFTP is part of SSH, that means the preset aliases in your '' | ||
+ | |||
+ | |||
+ | ==== Navigation ==== | ||
+ | |||
+ | Traversing an SFTP system works much the same way as it does in [[tools: | ||
+ | |||
+ | === Finding Your Location === | ||
+ | |||
+ | Use '' | ||
+ | |||
+ | sftp> pwd | ||
+ | |||
+ | === Showing Directory Contents === | ||
+ | |||
+ | Use the '' | ||
+ | |||
+ | sftp> ls | ||
+ | sftp> ls -la | ||
+ | |||
+ | === Moving Around === | ||
+ | |||
+ | Use the '' | ||
+ | |||
+ | sftp> cd path/ | ||
+ | |||
+ | ==== File Transfer ==== | ||
+ | |||
+ | === Check Local Path === | ||
+ | |||
+ | Before downloading anything, check the download path //(or the 'local pwd' | ||
+ | |||
+ | sftp> lpwd | ||
+ | |||
+ | If you are not happy with this path, use the '' | ||
+ | |||
+ | sftp> lcd new/path/ | ||
+ | sftp> lls -la | ||
+ | |||
+ | |||
+ | === Downloading Files === | ||
+ | |||
+ | Once you know where your downloads are going, you can grab files with the '' | ||
+ | |||
+ | sftp> get filename | ||
+ | |||
+ | To download whole directories, | ||
+ | |||
+ | sftp> get -r name/ | ||
+ | |||
+ | |||
+ | === Uploading Files === | ||
+ | |||
+ | {{wst> | ||
+ | |||
+ | |||
+ | ==== Advanced Wizardry ==== | ||
+ | |||
+ | {{wst> | ||
+ | |||
+ | ===== SFTP in PowerShell ===== | ||
+ | |||
+ | For unfortunate Windows users with [[tools: | ||
+ | |||
+ | |||
+ | ===== Graphical Applications ===== | ||
+ | |||
+ | If command line is too daunting for you, you can always install programs like [[https:// | ||
+ | |||
+ | See what works for you, but we recommend getting familiar with the CLI '' | ||
{{tag> | {{tag> |
tools/sftp.1758503601.txt.gz · Last modified: (external edit)
Find this page online at: https://bestpoint.institute/tools/sftp
Find this page online at: https://bestpoint.institute/tools/sftp