Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Best Way to Transfer Files to a Remote PC

· 7 min read · Home Tech

In this article
  1. Why Copying Files to a Remote PC Is So Painful
  2. What Is SFTP and How Does It Solve the Problem?
  3. How to Use WinSCP to Copy Files (Step-by-Step)
  4. Common Problems and How to Fix Them
  5. WinSCP vs. FileZilla vs. Other Methods
  6. Security Considerations
  7. When to Use Other Tools (and When Not To)
  8. Frequently Asked Questions

The tool that solves the frustrating problem of copying files to a remote PC is an open-source utility called WinSCP (for Windows) or its cross-platform cousin FileZilla. These are SFTP/FTP clients that give you a simple drag-and-drop interface to move files securely over SSH, which is far more reliable than trying to use Windows' built-in Remote Desktop clipboard or shared folders.

Why Copying Files to a Remote PC Is So Painful

Most people first try to copy files to a remote computer using Remote Desktop Protocol (RDP). You connect, you try to paste a file, and it either fails silently, takes forever, or the clipboard just doesn't cooperate. The core issue is that RDP's clipboard redirection is designed for small text and images, not large file transfers. Even when it works, it's painfully slow because the data is compressed and sent through the RDP session, not through a dedicated file transfer channel.

Another common approach is setting up a shared folder on the remote PC. But that requires the remote machine to be on the same network, and you have to configure Windows firewall rules, set permissions, and deal with network discovery issues. If the remote PC is on a different network (e.g., you're at home and the remote PC is at work), you need a VPN, port forwarding, or a cloud service—all of which add complexity and security risks.

What Is SFTP and How Does It Solve the Problem?

SFTP (SSH File Transfer Protocol) is a secure file transfer protocol that runs over SSH (Secure Shell). Unlike FTP, which sends data in plain text (including your password), SFTP encrypts both your credentials and the files. It's the same protocol used by Linux servers and is built into most operating systems, but Windows users often don't realize they can use it with a simple GUI client.

WinSCP and FileZilla both support SFTP. You just enter the remote PC's IP address, username, and password, and you get a split-screen interface: your local files on the left, remote files on the right. Drag and drop to copy. It's that simple. The transfer is encrypted, resumable, and much faster than RDP clipboard because it uses the full bandwidth of your network connection.

How to Use WinSCP to Copy Files (Step-by-Step)

  1. Download and install WinSCP from the official site (winscp.net). It's free and open-source.
  2. Launch WinSCP. You'll see a login dialog. Enter the remote PC's IP address or hostname, your username, and password. For the file protocol, select SFTP (or SCP if SFTP isn't available). Set the port to 22 (default for SSH).
  3. Click "Login". If it's your first time connecting, you'll get a warning about the server's host key. Accept it if you trust the remote machine.
  4. You'll see two panes. The left is your local machine, the right is the remote. Navigate to the folder you want to copy from and the folder you want to copy to.
  5. Drag and drop files from left to right (or right to left) to copy. You can also select files and press F5 to copy.
  6. Monitor the transfer in the background window. You can pause, resume, or cancel transfers.

That's the whole process. No command line, no mounting drives, no network shares.

Common Problems and How to Fix Them

Even with a good tool, you might hit a few snags. Here are the most common issues and their fixes:

  • Connection refused: The remote PC doesn't have an SSH server running. On Windows, you need to enable OpenSSH Server (Settings > Apps > Optional Features > Add a feature > OpenSSH Server). On Linux, install openssh-server.
  • Host key verification failed: The remote PC's host key changed (e.g., after reinstalling the OS). You'll need to delete the old key from WinSCP's cache or accept the new one.
  • Slow transfer speed: If you're transferring over the internet, speed is limited by your upload bandwidth. For local transfers, check that both machines are on the same network and use a wired connection if possible.
  • Permission denied: The user account you're using doesn't have write access to the target folder. On Windows, you may need to run the SSH service as an admin or change folder permissions.
  • File locks: If a file is open on the remote PC, you might get an error. Close the file or try a different destination.

WinSCP vs. FileZilla vs. Other Methods

WinSCP and FileZilla are both excellent, but they have slight differences. WinSCP is Windows-only and has a built-in text editor, a synchronization feature, and a scripting interface for automation. FileZilla is cross-platform (Windows, macOS, Linux) and supports FTP, SFTP, and FTPS, but its interface is a bit more cluttered. Both are free and open-source.

Other alternatives include:

  • rsync (Linux/macOS): Command-line tool that syncs files efficiently, only transferring changed parts. Great for large directories.
  • scp (Linux/macOS): Simple command-line copy over SSH. Works well but doesn't support resuming interrupted transfers.
  • Cloud storage (OneDrive, Google Drive): Good for small files, but you're uploading to a third-party server, which may not be acceptable for sensitive data.
  • Windows built-in "Send to" > "Compressed folder": Not a real solution, but sometimes people zip files and email them—terrible for large files.

For most users, WinSCP or FileZilla is the sweet spot: easy to learn, secure, and free.

Security Considerations

When you use SFTP, your data is encrypted during transit. However, the security of your remote PC depends on how you set up SSH. Here are some important points:

  • Use strong passwords or, better yet, set up SSH key authentication. WinSCP supports key pairs, which are more secure than passwords.
  • Keep your SSH server updated to avoid known vulnerabilities.
  • Don't expose SSH to the public internet unless you have a firewall that restricts access to specific IPs. If you need remote access from anywhere, consider a VPN.
  • Be careful with port forwarding. If you forward port 22 on your router, anyone can attempt to connect. Use a non-standard port or fail2ban to block brute-force attacks.

SFTP is generally safe, but the security of the remote PC is your responsibility. Always use the latest versions of the software and follow basic security hygiene.

When to Use Other Tools (and When Not To)

SFTP is great for one-off or periodic file copies, but it's not the best for continuous synchronization. If you need to keep two folders in sync automatically, consider using rsync (with a scheduling tool like cron) or a file-syncing service like Syncthing, which is open-source and peer-to-peer.

For very large transfers (hundreds of GB), SFTP works but might be slow if the connection is unstable. In that case, consider using a tool that supports resuming, like rsync with the --partial flag, or splitting the files into smaller chunks.

If you're transferring files to a cloud server (like AWS EC2), you can use the same SFTP clients, but you'll need the key pair (PEM file) that you downloaded when creating the instance. WinSCP can import PEM files directly.

Frequently Asked Questions

Q: Is WinSCP free?
A: Yes, WinSCP is completely free and open-source. You can download it from the official website without any cost. It's licensed under the GNU GPL.

Q: Can I use WinSCP on macOS?
A: No, WinSCP is Windows-only. For macOS, you can use FileZilla, which works the same way, or use the built-in scp command in the terminal.

Q: What's the difference between SFTP and FTPS?
A: SFTP is a file transfer protocol that runs over SSH (port 22) and encrypts everything. FTPS is FTP over SSL/TLS (port 990 or 21) and is a separate protocol. SFTP is generally more firewall-friendly because it uses a single port.

Q: How do I enable SSH on Windows 10/11?
A: Go to Settings > Apps > Optional Features > Add a feature, search for "OpenSSH Server," install it, then start the service via Services or PowerShell. After that, you can connect with WinSCP using your Windows username and password.

Q: Can I transfer files between two remote PCs using WinSCP?
A: WinSCP only connects to one remote server at a time. To transfer between two remote PCs, you'd need to download to your local machine first, then upload to the second, or use a different tool like rsync with a jump host.

Q: Is it safe to use SFTP over the internet?
A: Yes, SFTP encrypts the connection, so your files and credentials are protected. However, you should use strong authentication and keep your server updated to prevent unauthorized access.