tools:sftp
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
tools:sftp [2025/09/22 01:24] – 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 ===== | ===== Using SFTP ===== | ||
- | ==== Command Line ==== | + | 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 | ||
Connecting to an SFTP server works exactly the same as connecting to an [[tools: | Connecting to an SFTP server works exactly the same as connecting to an [[tools: | ||
Line 19: | Line 20: | ||
Since SFTP is part of SSH, that means the preset aliases in your '' | 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 === | === 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 === | === Uploading Files === | ||
+ | {{wst> | ||
+ | |||
+ | |||
+ | ==== Advanced Wizardry ==== | ||
+ | |||
+ | {{wst> | ||
+ | |||
+ | ===== SFTP in PowerShell ===== | ||
+ | For unfortunate Windows users with [[tools: | ||
- | ==== Graphical Applications ==== | + | ===== Graphical Applications |
If command line is too daunting for you, you can always install programs like [[https:// | If command line is too daunting for you, you can always install programs like [[https:// |
tools/sftp.1758504284.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