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:33] – [Secure File Transfer Protocol (SFTP)] Humphrey Boa-Gart | tools:sftp [2025/09/30 22:44] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 6: | Line 6: | ||
| ===== Using SFTP ===== | ===== Using SFTP ===== | ||
| - | SFTP is a widely-supported protocol, so you can use it in a variety of applications. | + | SFTP is a widely-supported protocol, so you can use it in a variety of applications. |
| - | ==== Command Line ==== | + | ==== Connecting |
| - | + | ||
| - | For Linux, BSD & MacOS users, your local [[tools: | + | |
| - | + | ||
| - | + | ||
| - | === 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 25: | 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 === | + | ===== SFTP in PowerShell |
| For unfortunate Windows users with [[tools: | 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.1758504833.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

