On this page
Quick answer. Application defaults live under Options, Preferences. Per-server choices live on the saved site and under Advanced Site Settings. Export a copy of the configuration before you change storage from the registry to an INI file, and before you upgrade if you might need to go back.
What you need
- WinSCP already running, so you can open the menus described here.
- A folder where an exported configuration can sit, preferably not in a public share.
Where the preference pages are
Open the Options menu, then Preferences. The list on the left is grouped. The pages below are the ones that change day-to-day file transfer. Other pages exist. If a name in your version is one row away from the name written here, use the label you see. The project moves individual options between releases, and the documentation page for that option is the authority.
Interface
Environment, Interface chooses Commander or Explorer. Commander shows the local panel and the remote panel together. Explorer shows the remote files in a single window closer to File Explorer. The setup program asks for this choice. Changing it later may require a restart of the windows you have open. Pick Commander if you are following the transfer guide, because the steps assume both panels are visible.
The same Environment area holds options for how many sessions open and whether the Login dialog returns when the last session closes. The checkbox text is “Show Login dialog on startup and when the last session is closed.” Turn it on if the program starts straight into an empty window and you cannot find New Site.
Panels and hidden files
Preferences, Panels, Show hidden files reveals dotfiles on the server and hidden files on Windows. Turn it on when you need .htaccess or a similar name. Turn it off again if the extra names make the listing hard to read. The setting does not grant permission to open those files.
On the same page, “Operation to perform on double-click” controls files. Edit is the default, which opens the internal editor or an associated editor. Copy transfers the file instead. Open uses the associated application. If a double-click starts an upload you did not want, this preference is why. Change it, or use the toolbar Copy command when you mean to transfer and double-click when you mean to edit.
You can also choose a custom panel font here. If the listing is hard to read, increasing the Windows text size is often clearer than a one-off font, and the WinSCP documentation says the same.
Editors
The internal editor is enough for a small text file. Preferences for editors let you send other extensions to an external program. Know which program will open before you double-click a remote file. Saving in that editor uploads the change back when WinSCP is set to do so. That is convenient and dangerous on a production config file. Download a copy first, as the transfer guide describes, or edit a local copy and upload it under a new name until you have compared it.
Transfer defaults
The Transfer preferences set the default mode and the endurance behavior used when a dialog does not override them. Automatic mode is the sensible default. Add an extension to the text list only when that file type should have newline conversion. Do not add zip, png, jpg, pdf, or gz.
Resume and the temporary .filepart name are endurance behavior. Leave resume available for SFTP and FTP unless a particular broken server refuses partial files. If a server creates a finished file from a partial upload because of its own processing, talk to the administrator before you disable resume globally. One awkward server is a site-specific transfer setting, not a reason to change every site.
“Optimize connection buffer size” sits with the connection transfer options. Test it per site when a transfer stalls or is unexpectedly slow. The transfer guide explains why a folder of tiny files will still be slow with any buffer setting.
Saved sessions
Sites are the list on the Login dialog. Each site stores the protocol, host, port, username, and advanced options such as the private key path and the proxy. Use Manage, New folder when the list gets long. Use a site note, on the Note page of Advanced Site Settings, for a reminder such as “uploads belong in /var/www/example, not in the home directory.” Notes are visible to anyone who can open your configuration. Do not put a password in the note.
Manage, Set Defaults copies the current session settings into the template used for New Site. Do that only when most of your servers share a real default, such as SFTP. A default of “FTP with no encryption” will surprise you later.
Manage, Import can bring sites from PuTTY or FileZilla. Check each imported host name and protocol before you connect. An imported password is still a stored password. Remove it if this PC is shared.
Storage, backup, and restore
-
See where settings live
Open Preferences, Storage. The choice is the Windows registry for your user, or an INI file. The registry is reasonable for a single personal PC. An INI file is what you want for a portable folder and for a copy you can put with your backups.
-
Export before you switch
Use the export command on the Login dialog Tools menu, or the export control on the Storage page if your version shows it there. Save the file somewhere outside the WinSCP program folder. Treat the file as sensitive. It can contain saved passwords and host keys if you chose to store them.
-
Switch storage or restore
Change the storage mode, then import or let WinSCP use the INI you pointed at. Open one saved site and confirm the host name is what you expect. If you are restoring after a reinstall, import the file you exported, then connect. A host-key prompt on a server you have used for months means the restored configuration did not include the cached key, or the server key actually changed. Compare the fingerprint before you accept it. Do not click through it to “finish the restore.”
A script that uses /ini=nul will not read this configuration. That isolation is intentional. Backing up the graphical settings does not by itself fix a scheduled task. The task needs its own fingerprint and key path, as written in the automation guide.
Proxy and network defaults
A proxy that every site should use can be a default session setting. A proxy that only the office network needs should stay on the sites you use from that office. Advanced Site Settings holds the proxy host, port, and credentials. If connections work at home and time out at work, the proxy is the first setting to compare. If they fail everywhere after you edited a default, clear the proxy and try one site. The error text still matters. A refusal is not a proxy timeout. See troubleshooting for the difference.
Remove stored data
The Login dialog Tools menu includes a cleanup command for data WinSCP stored on the PC. Use it when you are handing the computer to someone else or when you stored a password you should not have stored. Cleanup does not delete files on the server. Uninstalling the classic application also asks whether to remove configuration. Read that question. Answering it in a hurry is how saved sites disappear. Export first if you still need them.
The Microsoft Store installation removes its own configuration when you uninstall it. It does not remove a classic installation’s configuration. If both were installed, check both before you assume the password is gone.
Common mistakes
- Changing a preference and expecting a script with
/ini=nulto follow it. - Exporting a configuration that contains passwords into a folder that syncs to a public cloud share.
- Turning on Show hidden files and then uploading a local
.envbecause it became visible. - Setting the double-click action to Copy and then editing files by accident, or the reverse.
FAQ
Where do I turn on hidden files?
Options, Preferences, Panels, Show hidden files. The same page is documented as the Panels page of the Preferences dialog.
Can I carry my sites to another PC?
Export the configuration, or use an INI file and copy that file. On the other PC, import it into a WinSCP you installed from the official source. Confirm a host key before you trust the new machine’s first connection if the cache did not come across.
Does a dark theme change any transfer behavior?
No. Color is presentation. Protocol, paths, and permissions behave the same. The project publishes a dark-theme screenshot on its screenshots page if you want to compare the layout.
Previous: File transferNext: Automation