How to copy the files from remote unix server to local windows?

12,290

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.

enter image description here

Share:
12,290

Related videos on Youtube

Rak kundra
Author by

Rak kundra

Updated on September 18, 2022

Comments

  • Rak kundra
    Rak kundra over 1 year

    I have my working system in a remote location and the os is in unix and i need to get the files from that remote unix system to my local machine using bash commands. I tried

    scp ls .txt*  D:\BACKUP
    

    this command by connecting using putty to my remote system. i tried but its not working.

    • RomanPerekhrest
      RomanPerekhrest almost 7 years
      and how it's not working?