WinSCP is a file transfer client and file manager for Windows. It moves files between a local computer and a remote server over SFTP, SCP, FTP, FTPS, WebDAV or Amazon S3. It also manages remote files, synchronizes folders and runs automated jobs. WinSCP is free, open-source software released under the GNU General Public License. Those terms apply to individuals and organizations alike.
Protocol differences
The protocol chosen for a site decides which WinSCP functions are available on that connection. SFTP supports the most features.
| Function | SFTP | SCP | FTP / FTPS | WebDAV | S3 |
|---|---|---|---|---|---|
| Resume interrupted transfers | Yes | No | Yes | No | Immediate reconnect only |
| Remote commands | Through a separate shell session | Yes, without user input | FTP commands only | No | No |
| Permissions on upload | Yes | Yes | No | No | No |
Commander and Explorer layouts
WinSCP has two window layouts. You pick one during setup and can change it later in preferences. Both have the same transfer functions. They differ in how folders are shown and how you choose a destination.
- Commander shows a local folder on the left and a remote folder on the right, in the style of Norton Commander. You copy files between the two panes. The layout is designed for keyboard use: Tab switches panes and F5 copies.
- Explorer looks like Windows File Explorer and shows only the remote folder. You download files by dragging them to a Windows folder or by typing a local path.
Several sessions can be open in separate tabs.
Sites, keys and stored passwords
Connections start from the Login dialog, which also works as WinSCP’s site manager. A saved site stores the protocol, host, port, user name and an optional password. You can group sites into folders. Logging in to a folder opens every site in it. You can import sites saved in PuTTY or FileZilla.
WinSCP supports password, keyboard-interactive, public key and Kerberos authentication. It comes with PuTTYgen, which creates SSH key pairs and converts OpenSSH keys to the PPK format WinSCP uses. It also comes with Pageant, which keeps unlocked keys in memory so you do not retype the passphrase for every session. You can encrypt stored passwords with AES under a master password. If you forget the master password, it cannot be recovered. For full terminal work, you can pass an open session to PuTTY.
Transfers and the queue
You can adjust each upload or download before it starts. Text, binary or automatic mode controls line-ending conversion. A file mask and the “new and updated files only” option limit which files are sent. Other options set upload permissions or cap the speed.
A transfer can also run in the background queue, so the window stays free. Each queued operation opens its own connection to the server. By default WinSCP runs two at a time while the rest wait. Over SFTP, binary uploads go to a temporary .filepart file. WinSCP renames it only after the transfer finishes. If the connection drops, the original file stays intact, and the next attempt resumes from where the upload stopped.
Remote file editing
When you open a remote file for editing, WinSCP downloads it to a temporary folder. It then opens the file in the built-in editor or an external one. Each time you save, WinSCP uploads the file back through the background queue. This lets you edit several files at once. The built-in editor handles text files only, so binary files need an external editor.
Folder synchronization
WinSCP’s Synchronize function compares a local and a remote folder by modification time and applies the differences. The direction sets which side changes: local, remote or both. “Both” copies newer files in each direction and never deletes anything. “Synchronize files” mode copies newer and missing files and can optionally delete files that exist only on the target. “Mirror files” mode copies any file that differs, even when the target copy is newer. With “Preview changes” turned on, a checklist lists the planned actions. You can uncheck any of them before anything runs.
Keep Remote Directory up to Date watches a local folder. When a file changes, for example when you save it in an editor, WinSCP synchronizes that folder to the server. Both functions depend on accurate remote timestamps, so check that WinSCP converts times correctly before relying on either one.
Scripting and the .NET assembly
WinSCP runs scripts from its console program. Commands come from a script file, the command line or standard input. The script commands cover connecting, uploading and downloading, synchronizing, and moving, copying or deleting remote files. Scripts run without prompts and return exit code 1 when a command fails. A batch file or a Windows Task Scheduler job can use this code to detect errors. The scripting language has no loops or conditions.
For more complex logic, the WinSCP .NET assembly lets C#, VB.NET or PowerShell code control WinSCP. VBScript and other COM clients can use it too. Code can open sessions, transfer and synchronize files, and check the result of each operation. WinSCP can also generate a starting script or code sample from a saved site.





