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 triedscp ls .txt*  D:\BACKUPthis command by connecting using putty to my remote system.  i tried but its not working. can you please help me out .
How to copy the files from remote unix server to local windows?
linux;bash;shell;ssh;scp
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_nameIf you don't have scp installed on your windows you can install winscpYou can use winscp to download using sftp (see instructions)ConnectingStart 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 PasswordPress Login to connect.