Differences
This shows you the differences between the selected revisions of the page.
2024-12-21 | 2024-12-21 20:19 (current) | ||
no summary (182.232.234.42) (hidden) (untrusted) | clarity (martin) | ||
Line 77: | Line 77: | ||
</code> | </code> | ||
+ | ==== [[ini_readonly]] Read-Only INI File ==== | ||
+ | A simpler way to make whole configuration read-only is to use an INI file and set it read-only in a file system. | ||
+ | When INI file directory or the file itself is not writable (for example when the INI file is in ''Program Files'' folder or when it is explicitly set read-only), WinSCP does not preserve its state when exiting. No error message is displayed. Only when you explicitly change configuration (such as when you save [[session_configuration|site]], or submit [[ui_preferences|Preferences dialog]]), an error is shown. You can make WinSCP overwrite a read-only INI file by holding ''Shift'' key, while closing or submitting Preferences dialog. | ||
===== [[auto]] Auto-selecting Storage ===== | ===== [[auto]] Auto-selecting Storage ===== |