Advanced Setup Guides
File Transfer Methods for Linu...
SFTP Windows <> Linux Server
9min
SFTP (Secure File Transfer Protocol) is a secure way to transfer files between your Linux machine and a Linux server. This article explains how to use the sftp command in the Linux terminal to copy files securely.
Make sure the SSH service is installed and running on your Linux server. Use the following command:
To start an SFTP session, use the following command:
- Replace username with your Linux server username.
- Replace hostname_or_ip with your server’s IP address or domain name.
Once connected, you can use the following commands to transfer files:
- Download a file from the server:
- Upload a file to the server:
- List files in the remote directory:
- Change the remote directory:
- Exit the SFTP session:
Updated 11 Dec 2024
Did this page help you?