1
0
mirror of https://github.com/winscp/winscp.git synced 2026-10-24 02:28:55 +03:00

252 Commits

Author SHA1 Message Date
Eduardo C.
a2fb90bebb Keep an OpenSSH config's paths POSIX ones on POSIX (#83)
ConvertPathFromOpenssh turns the forward slashes of an OpenSSH config's
paths into backslashes (GetNormalizedPath), as Windows' dialogs want them.
On POSIX that breaks the path: an imported site's IdentityFile
~/.ssh/id_ed25519 became \home\user\.ssh\id_ed25519, a file that does not
exist. 

---------

Co-authored-by: Eduardo Correia <ecorreia@apliant.com.br>
2026-10-19 15:43:41 +02:00
Martin Prikryl
a269e58826 Bug fix: x-name URL parameter was incorrectly decoded
Source commit: be5c17cde1f823e24389834032d88299366963e0
2026-06-26 01:02:43 +02:00
Martin Prikryl
dc56db76b1 Issue 2447 – Do not allow WebDAV redirects to other hosts by default + Issue 2448 – Do not allow WebDAV redirects to an unencrypted URL by default
https://winscp.net/tracker/2447
https://winscp.net/tracker/2448

Source commit: c777084ca5737c4283f256eb8cdf5c2fec5902af
2026-06-13 01:00:40 +02:00
Martin Prikryl
1636165e08 Warning when pasting a session URL with unsafe settings
Source commit: a6a8ab80fab4384666d8f4835e7f5fefb91c4aa9
2026-06-10 16:10:38 +02:00
Martin Prikryl
3a2f4913c6 Merging DefaultsOnly and ProtocolDefined parameters
Source commit: 0d19541f3856ea463616237e3df15d99c721ad5d
2026-06-10 01:40:13 +02:00
Martin Prikryl
941ce4e50e Issue 2440 – When opening session in PuTTY to a host for which WinSCP has multiple hostkeys cached, use the last key or the key that PuTTY has cached
https://winscp.net/tracker/2440

Source commit: 7a596711a8c49cb70687679fe72aec92159ddf6e
2026-05-19 00:59:46 +02:00
Martin Prikryl
a2119a7eac Types and casts safe in respect to pointer size for forward 64-bit compatibility
Also GetWindowLongPtr and GWLP_USERDATA

https://winscp.net/tracker/618

Source commit: c85fdf15e50ce8a6f35b1c4d2a0125a0b9c4f1f0
2026-01-22 14:51:13 +01:00
Martin Prikryl
e5efed8955 Refactoring old-style casts
Source commit: 3c37b3a958525c595ad44b081b2e0f3b288b8eb0
2025-12-18 01:20:33 +01:00
Martin Prikryl
a5dcb5f03c Using std::size instead of custom macro
Source commit: 1a89c80dd42426351f261526b617534bab664208
2025-12-07 01:17:54 +01:00
Martin Prikryl
8e143b3afb Issue 2408 – Convert unsupported SSH proxy to SSH tunnel when importing site from PuTTY
https://winscp.net/tracker/2408

Source commit: 1303336174bcf105210a8d38497ef87dc9eb1a6b
2025-11-08 01:09:22 +01:00
Martin Prikryl
b13e2e7c2b #pragma package(smart_init) is not useful out of packages
Source commit: 7635ac3b532214f27ea2b6fe6aa80398c857cfcd
2025-08-23 01:06:48 +02:00
Martin Prikryl
3817bbd736 Preparing for separate pre-compiled header file required by Clang
- Once doing that, including more headers to PCH, not just vcl.h
- Clang won't need explicit include, but we will probably keep it anyway.
- #pragma hdrstop has no effect in Clang

Source commit: adc8a268b6907c5337ccaa430cca7526793a3019
2025-08-22 15:43:55 +02:00
Martin Prikryl
f7f00c631e Clang imposed changes that should be noop and have no effect on classic compiler
Mostly:
– incorrectly identified uninitialized variables
– explicit static global variables
– const, sign and down casts and safety
– typename use
– semicolon after function implementation
– unused variables, fields, arguments and macros
– field initialization order
– exact include filename case
– redundant in code macros already defined at project level

Source commit: 5c1338d95bd275082288dd1e773a033df6e379cd
2025-03-13 16:39:24 +01:00
Martin Prikryl
0d64cc1278 Issue 2352 – Remember empty session password
https://winscp.net/tracker/2352

Source commit: 8deb7a84540894f0ce1a0b3c0ff08ebffdaa44df
2025-02-28 14:27:35 +01:00
Martin Prikryl
59a148c152 Updating code to PuTTY Pre-release 0.83:2025-01-03.1e45199 + Updating PuTTY code to C++ Builder
Source commit: f19842107de91d45c4a819260d5d335a7635980c
2025-01-05 01:04:26 +01:00
Martin Prikryl
eab9b315c6 Making compilable after 400bee57
Source commit: 8c6323e24bc6c046a8b53c06810bec84dfb6e3f9
2024-12-25 11:48:36 +01:00
Michael Lukashov
400bee57cf minor: Fix typos (#59)
Fix various minor typos
2024-12-25 11:25:35 +01:00
Martin Prikryl
25df2381f1 Updating code to PuTTY 0.82
Source commit: ddf59fef3b75f5efff8bf82fecdd61ef49970fd2
2024-12-05 16:51:39 +01:00
Martin Prikryl
8b4c225d7a https:// URL to S3 API at oraclecloud.com is interpreted as S3 protocol, instead of WebDAV
Source commit: 753bcabac3f1dca913a554d65189a38f44411082
2024-11-30 01:05:45 +01:00
Martin Prikryl
7aa82b90fc Issue 2247 – Limiting SFTP version to 3 with non-well-known SFTP servers as a workaround for interoperability issues
https://winscp.net/tracker/2247

Source commit: e8d26c68291db0390bae63e57c01f81200caff04
2024-07-23 00:55:30 +02:00
Martin Prikryl
15112f5277 Issue 2299 – Better error message when server is using incompatible TLS protocol version
https://winscp.net/tracker/2299

Source commit: 03997d32ab26920b5c4c3fb934e1595db6fe8d38
2024-07-08 01:19:53 +02:00
Martin Prikryl
8b120da856 Site import from an INI file (Issue 2290)
Issue 2290 – Easier moving of site configuration between machines
https://winscp.net/tracker/2290

Source commit: 58e02521b5191ddd407922f989d351f9578cbc4d
2024-05-29 01:02:43 +02:00
Martin Prikryl
fb147cdc2a Issue 2249 – Allow assuming IAM role in S3 sessions + Only profiles that contain both aws_access_key_id and aws_secret_access_key are listed on the Login dialog
https://winscp.net/tracker/2249

Source commit: 00151a6bc71d411588f2c2909076561731bf8ed9
2024-04-10 16:51:51 +02:00
Martin Prikryl
7ae34b8957 Limited SFTP upload queue length to avoid networking congestion
When uploading to ProFTPD mod_sftp in local Docker, the queue could be as long as 3000 requests, the TCP window as reported by Wireshark constantly full and re-transmitting, and eventually the server stops responding.

Source commit: 9ba6fd4a52c547db84da99b49779271b75fb0968
2024-03-19 16:13:39 +01:00
Martin Prikryl
da0fc7ab56 Issue 2271 – Misplaced stored site use warning in scripting when session name is specified
https://winscp.net/tracker/2271

Source commit: 37fee417a4f1221a2bea4824f36d162a35bc3ae6
2024-03-05 01:11:30 +01:00
Martin Prikryl
9936e7893b Issue 2265 – Password pipe cannot be used to open session in an existing instance
https://winscp.net/tracker/2265

Source commit: 947e31d551b284e0e59296c8a5a21805817678d7
2024-02-28 00:57:33 +01:00
Martin Prikryl
7ce1361928 Issue 2263 – Cannot use IPv6 literal as hostname on Login dialog
https://winscp.net/tracker/2263

Source commit: 9819c25cf345cb182c6307b2139cc6add72bce96
2024-02-21 13:49:38 +01:00
Martin Prikryl
3be9a70b6d Preparing for Issue 2231 – Support for posix-rename@openssh.com SFTP extension
https://winscp.net/tracker/2231

Source commit: 4772cb75a566c3b93d175950806028a1ba56e9aa
2024-01-17 16:59:54 +01:00
Martin Prikryl
c97a8ab847 Issue 2250 – Configurable FTP TLS shutdown procedure
https://winscp.net/tracker/2250

Source commit: 509a6c3b0efed21c398810e7ead00bd9235ee35d
2024-01-15 15:33:10 +01:00
Mikhail Lukashov
a8e6220b88 fix typos 2024-01-05 10:37:32 +01:00
Martin Prikryl
0e0c2f2006 Issue 2244 – Do not use directory listing to keep FTP session alive by default
https://winscp.net/tracker/2244

Source commit: 61d8886b91c8375f597a8b8b9b0975e40b9003a6
2023-12-15 15:48:50 +01:00
Martin Prikryl
937c2a1df1 Improving PR#51/Issue 2239 implementation
https://winscp.net/tracker/2239

Lines are included at the place of the Include directive + Include works even for tunnels + Include directive supports multiple arguments + IdentityFile does not support paths relative to .ssh folder

Source commit: 632f5a12334accb9888bf90aae61c5dbc7d70d07
2023-12-07 15:56:14 +01:00
Martin Prikryl
f60ee8ae79 Unneeded addition
Source commit: 0c1d3095597339e66cff40ecd05e717e0f6a2757
2023-12-07 15:53:59 +01:00
Martin Prikryl
70d0437f8f Whitespace
Source commit: 869305d5d79e1352eed3b5dbd72dd3156cd4d9ea
2023-12-07 15:51:22 +01:00
dvdandroid
8a5ec49693 Support SSH Include directive 2023-12-07 12:48:36 +01:00
Martin Prikryl
068128f522 Issue 2213: Support for "Requester pays" S3 buckets
https://winscp.net/tracker/2213

Source commit: b9cc8e854b82d3c0a94e0481e16fa6b0f1e82c4a
2023-11-15 16:12:42 +01:00
Martin Prikryl
5b47f251c7 Factoring out S3GoogleCloudHostName
Source commit: 4a2a8119a2709496787867927e549a37a5d3486c
2023-11-14 01:12:10 +01:00
Martin Prikryl
b306995b1c OpenedSessionsS3Amazon and OpenedSessionsS3Other counters
Source commit: 5c34dc40d39cf93a217f8f341ab960db92f52853
2023-11-14 01:08:52 +01:00
Martin Prikryl
8a69c52dbe Bug 2109: Restoring support for legacy version of the Digest algorithm specified in RFC 2069
https://winscp.net/tracker/2109

Source commit: 78e64e5b3878203717efc91a9ad491f63849f4e2
2023-10-17 01:07:48 +02:00
Martin Prikryl
6abd8fa1f5 https:// URL with r2.cloudflarestorage.com hostname is interpreted as S3 protocol, instead of WebDAV
Source commit: 1dc26d2606c13f99f4b6d63f34b4171cafa4ea31
2023-09-19 01:09:50 +02:00
Martin Prikryl
ea7204c517 Bug 2220: Recognizing CertificateFile directive when importing sites from OpenSSH
https://winscp.net/tracker/2220

Source commit: cdb4f32e0a5162f545390d0a72aa3239c6279ef4
2023-09-16 01:03:18 +02:00
Martin Prikryl
5bcf370af8 Bug fix: Renaming tab invalidated remembered password
Source commit: 7d667513de9d9748b13ad183342d1a0bc85d7e9b
2023-09-08 14:15:24 +02:00
Martin Prikryl
266b470cf8 Using tolower and towupper
Source commit: 9679e092efa1a4683538eb9b46374f90b5699ab3
2023-08-19 01:13:29 +02:00
Martin Prikryl
699bf5fd2c Bug fix: Check for application updates was limited to TLS 1.2
Source commit: 947be1b917051e314e5e52e637297cb50cd57030
2023-08-18 01:03:43 +02:00
Martin Prikryl
730bfcaed7 Bug 2206: Improve OpenSSH config file parsing, particularly quoted and escaped values
https://winscp.net/tracker/2206

Source commit: ffebc91c00525da10aa2dec817a0475ecfa33a6c
2023-07-27 01:05:03 +02:00
Martin Prikryl
a861304c62 Bug 2203: Handling download URL does not work when another idle instance is running
https://winscp.net/tracker/2203

Source commit: 93e13a59b293a22a2f9ba15e4dedbe880fa3a564
2023-07-01 01:08:34 +02:00
Martin Prikryl
247565d23b Optimization in anticipation of having to parse commandline URL one more time
Source commit: bf2531704d0091b8015811da8ef58374c7516d71
2023-07-01 01:03:57 +02:00
Martin Prikryl
327a00dbd8 ProxyMethod raw session setting supports symbolical value names
Source commit: 0f00739cec07a65621abdb5fdb33b396c13563db
2023-06-06 01:04:28 +02:00
Martin Prikryl
5000b3df89 TLS 1.0 and 1.1 disabled by default, to match the OpenSSL 3 defaults
Source commit: d555eb75b43c50f2adb8f26c319ebfc80d8edc22
2023-05-17 01:11:11 +02:00
Martin Prikryl
7012b4e6ff Bug fix: Generated code uses obsolete SessionOptions.WebdavSecure property instead of current SessionOptions.Secure + Generated code for unsecure S3 protocol does not include SessionOptions.Secure property
Source commit: a1097dcf52c4fc349716131f04dd54213a66175f
2023-02-21 00:58:53 +01:00