Transfer Files to Linux Servers from Windows with WinSCP

Many Windows administrators work with Linux servers for web, database or monitoring tasks. WinSCP lets you move files with the same drag-and-drop habits you use in File Explorer.
Connect
- Start WinSCP and create a new session. Choose SFTP as the file protocol.
- Enter the server name or IP address, the port (22 by default) and your username.
- Choose the authentication method your server team has set up, then click Login.
- Accept the host key only after you have checked its fingerprint.
Move files
The window shows your PC on the left and the server on the right. Drag files between the panes, or select them and use Upload or Download. Use the Queue panel to watch the progress.
Edit safely
WinSCP can open a remote file in a local editor. Save it, and WinSCP uploads the change. Keep a backup of the original before you edit a configuration file, because a saved change takes effect immediately on many services.
Common problems
- Permission denied: check the folder permissions on the server. Your account may not have write access.
- Connection timed out: check the firewall path and the port. A VPN may be required.
- Garbled file names: check the encoding setting in the session options if names contain non-English characters.
Read the secure file transfer checklist before you use WinSCP for production servers.