assuming that you have scp
installed on your Windows (e.g. using Windows 10 bash)
The proper command is:
scp remote_username@remote_hostname.com:/full/path/to/file local_file_name
If you don't have scp
installed on your windows you can install winscp
You can use winscp
to download using sftp
(see instructions)
Connecting
Start WinSCP. Login Dialog will appear. On the dialog:
- Select your File protocol. When you are about to use FTPS protocol, select FTP and then choose one of the FTPS invocation methods.
- Enter your host name to Host name field, username to User name and password to Password
- Press Login to connect.
