Quick Answer: How to Transfer Files from Linux to Windows?
Contents

To copy a file from Windows to Linux with PuTTY, proceed as follows (on the Windows machine): Start PSCP.

  • Start WinSCP.
  • Enter the hostname of the SSH server (in our case sun ) and username ( tux ).
  • Click Login and acknowledge the following warning.
  • Drag and drop any files or directories from or to your WinSCP window.

Install PuTTY SCP (PSCP)

  • Download the PSCP utility from PuTTy.org by clicking the file name link and saving it to your computer.
  • The PuTTY SCP (PSCP) client does not require installation in Windows, but runs directly from a Command Prompt window.
  • To open a Command Prompt window, from the Start menu, click Run.

Open a Command Prompt terminal and change directories to the Putty-installation-path. Tip: Browse to the Putty installation path C:\Program Files (x86)\Putty\ using the Windows Explorer. Once in the directory, while holding the shift-key right-click anywhere in the window and select Open command window here.Transfer files using PSCP

  • Open the Command Prompt window, and if necessary set up your path variable as shown above in Step 4.
  • To copy the local file c:\documents\info.txt as user username to the server server.example.com with destination directory /tmp/foo, type at the prompt:
  • Start WinSCP.
  • Enter the hostname of the SSH server and username.
  • Click Login and acknowledge the following warning.
  • Drag and drop any files or directories from or to your WinSCP window.

How do I SCP from Linux to Windows?

To SCP a file to a Windows machine, you need an SSH/SCP server on the Windows.

  1. Step 1: Download pscp.
  2. Step 2: Get familiar with the pscp commands.
  3. Step 3: Transfer file from your Linux machine to Windows machine.

How do I connect to a Windows share from Linux?

If this is what you’re using, you can follow these steps to access your Windows shared folder:

  • Open Nautilus.
  • From the File menu, select Connect to Server
  • In the Service type: drop-down box, choose Windows share.
  • In the Server: field, enter the name of your computer.
  • Click Connect.
Sarah Jenkins

Sarah Jenkins

Senior Technology Editor & AI Specialist

Sarah Jenkins is a veteran tech journalist with over 12 years of experience covering artificial intelligence, mobile innovations, and digital ethics. Her insights have appeared in leading technology publications worldwide.

Share this article
Twitter Facebook Pinterest