copying files from Server to local machine using putty

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • vensriram
    New Member
    • Aug 2010
    • 48

    copying files from Server to local machine using putty

    Hi,
    I am trying to copy a file from the server to the local machine using the following command in PUTTY. But it is showing "No such file or directory". Can somebody help me resolve this issue

    Code:
    scp -r USERNAME@SERVER_NAME:PATH_IN_THE_SERVER: C:/Test
    2. i have also tried to give the command this way
    Code:
    scp -r USERNAME@SERVER_NAME:PATH_IN_THE_SERVER: My IP Address\sharedpath

    This time it shows that 100% transferred but i could not see any file in the specified path
  • sicarie
    Recognized Expert Specialist
    • Nov 2006
    • 4677

    #2
    I'm surprised it showed anything but an error - I don't use Putty to transfer files, I use WinSCP. If you use the 'Portable executables' link you can download WinSCP without installing it, then you connect in a similar fashion (host, user, password, protocol), and have a 'drag and drop' interface.

    Otherwise Windows to Linux copying (or vice-versa) won't work without something like Samba or a network file server configured.

    Comment

    • Luuk
      Recognized Expert Top Contributor
      • Mar 2012
      • 1043

      #3
      you should use pscp.exe on your windows machine,
      and not 'scp'

      Code:
      C:\temp\temp>pscp.exe -r luuk@192.168.178.250:* .
      Using keyboard-interactive authentication.
      Password:
      
      .bashrc                   | 1 kB |   1.1 kB/s | ETA: 00:00:00 
      .......| 100%

      Comment

      • nextstep
        New Member
        • Aug 2012
        • 14

        #4
        Hello,

        I think if it transfered successfully thus that means It was really in your local machine.

        Since you can find your files, folders. You can remember anything related to it's name (as file name, folder name.. anything else) then find it

        I think after finding you can get the right path to them

        Hope it help

        Comment

        Working...