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

33 Commits

Author SHA1 Message Date
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
5a8c4cdaea Using "username" and "hostname" as one word
Source commit: d86c0d6704a14fff6e3dca57868548df1f80cdd7
2026-05-29 01:15:26 +02:00
Michael Kent
531bbb770a Issue 856 – Define and implement interface for the .NET library
https://winscp.net/tracker/856
----
@mjkent: Add interfaces to .NET assembly for improved testability
This PR extracts interfaces from the main WinSCP .NET assembly classes (Session, SessionOptions, TransferOptions, etc.), enabling:

Unit testing - Mock ISession to test code that uses WinSCP without requiring actual SFTP/FTP connections
Dependency injection - Register interfaces in DI containers for cleaner architecture
Decoupling - Program against abstractions rather than concrete implementations
This change should be non-breaking, but I'm new to this project so review and feedback appreciated!
2025-12-11 15:15:29 +01:00
Martin Prikryl
1385cd78a5 Bug 1995: Support S3 servers without TLS encryption
https://winscp.net/tracker/1995

Source commit: ab6c0e4140430caa3512fcc6617e5ad98b57a30a
2022-08-11 00:56:27 +02:00
Martin Prikryl
1018b272ea Bug 2044: Provide private key as string in .NET assembly
https://winscp.net/tracker/2044

Source commit: f305e417f5775d6acfbd1d6ffb7580eefa52dbe3
2022-01-07 17:02:48 +01:00
Martin Prikryl
6954eeb7fc https:// URL with known S3 API hostname (s3.amazonaws.com, digitaloceanspaces.com, storage.googleapis.com) is interpreted as S3 protocol, instead of WebDAV
Source commit: 02beab5d3a11b731f8ff37c0186c04b8dedd375e
2021-04-24 00:53:23 +02:00
Martin Prikryl
7041346c78 Zero is a valid value for SessionOptions.PortNumber
Source commit: 6226efd24cda7d15d4c37d43a1a93d8f7f50319f
2021-03-17 13:13:38 +01:00
Martin Prikryl
7bea1ac8b1 Improving validation of port numbers in scripting and .NET assembly
Source commit: 450aea18602a840816643b99f7358dea6f2463a0
2021-03-17 00:48:46 +01:00
Martin Prikryl
5e6932f19c Bug fix: Session.ParseUrl cannot accept fingerprint parameter for sessions over TLS
Source commit: bb5add335a44178102b7d626840ffc9921837777
2020-08-21 02:15:16 +02:00
Martin Prikryl
1fe119535a Bug 1842: Support SHA-256 fingerprints of TLS/SSL certificates
https://winscp.net/tracker/1842

Source commit: 66b808783a0b67b0277fff65af905cb132573175
2020-03-31 02:25:42 +02:00
Martin Prikryl
b79f8c4789 When connecting to new SSH host, its host key can be automatically accepted in scripting and .NET assembly
Source commit: fd6ff51f0fda6ccf02aa4c679e7cfe3678da5e26
2019-11-29 01:05:20 +01:00
Martin Prikryl
79678dd885 Using nameof operator
+ One correction of an argument reference in an argument exception

Source commit: f76f49ae129bd3a64fb71c3bbbfadd44dcbcbbb1
2019-09-20 02:13:53 +02:00
Martin Prikryl
3b88e296ab Bug 1778: Configurable S3 root path/bucket in .NET assembly
https://winscp.net/tracker/1778

Source commit: 64c8280512ca144e0fe8a1944832997550579b02
2019-08-19 00:51:37 +02:00
Martin Prikryl
754f418e57 Custom command pattern !E preserves session name + Added SessionOptions.Name and SessionOptions.ToString (returning the .Name)
Source commit: ea39798fc71918a420fa69fc33c66e8748789f39
2019-08-02 01:05:31 +02:00
Martin Prikryl
b98866adec Host key and certificate fingerprint verification improvements:
- When verifying a host key using an expected fingerprint, the expected fingerprint can contain only the checksum.
- When verifying a host key or a certificate using an expected fingerprint, the comparison is case-insensitive (with an exception of SHA-256 checksum).
- When verifying a host key using an expected fingerprint, a padding in SHA-256 checksum is not required
- TLS/SSL certificate fingerprints in generated URL use dashes (-) instead of colons (:)
- SHA-256 fingerprints in in generated URL use dashes (-) and underscores (_) instead of pluses (+) and slashes (/)

Source commit: 5d82e86b61ddce7d0b6b282764ca61764acf9b63
2019-06-14 02:05:26 +02:00
Martin Prikryl
3267334917 Session URL can contain any raw session settings using connection parameter. New custom command pattern !E can generate such URL for use in WinSCP extensions.
Source commit: 7c9de42181088d8aaa9a96abaa420534f9e71a27
2018-05-17 22:47:41 +02:00
Martin Prikryl
e29607679e Bug 1638: Allow authentication with empty passwords in scripting
https://winscp.net/tracker/1638

Source commit: 5b00160666c5a8153219d5f4ee48bff9a8760c97
2018-04-21 02:55:03 +02:00
Martin Prikryl
f7540230ac Bug 1622: Slashes in SHA-256 fingerprints are not encoded in generated URLs
https://winscp.net/tracker/1622

Source commit: c801bc04fd9f23f9fe506dff05422718c4d2abff
2018-03-16 02:47:31 +01:00
Martin Prikryl
8412053553 Bug 1589: Support SHA256 host key fingerprints + Fingerprint tests
https://winscp.net/tracker/1589

Source commit: e5115747f7ae8d1f1bcd15a5e039701ea2b2176b
2018-01-28 17:28:10 +01:00
Martin Prikryl
87d3e2804d Inlining out parameters declaration
Source commit: a3965de2b036daabe4470573db59e7f6b1aebd84
2018-01-28 15:48:29 +01:00
Martin Prikryl
80e08f8d60 Bug 572: Amazon S3 protocol (directory browsing)
https://winscp.net/tracker/572

Counter StoredSessionsCountS3

Source commit: 20585d3ea3566ee2b638791549e28179eaefbc01
2018-01-28 15:02:56 +01:00
Martin Prikryl
b276911bc7 Bug 1557: Use SecureString to provide private key passphrase in .NET assembly
https://winscp.net/tracker/1557

Source commit: 46c307a18e6e81e266fa2e891a8fcde3bc6ccd38
2018-01-28 13:09:09 +01:00
Martin Prikryl
b4df71734a Bug 1479: Handle dav:// URL
https://winscp.net/tracker/1479

Source commit: c2dd8d68e98b48354a9a60c33b35a1ab7e35efb1
2018-01-27 23:21:44 +01:00
Martin Prikryl
0ccd2defd3 SSH password change + When opening secondary shell session fails, the main session is not Closed + Session.ExecuteCommand unit tests
ChangePassword + PasswordChangesFailed counters
task_change_password help keyword

Source commit: 335f4de0796d0367a8ed427790cf1407607cc0d8
2018-01-27 22:50:24 +01:00
Martin Prikryl
470be7604f Support for new host key types
Source commit: fff90d73259ac62bf04eac2b9272695754cca58a
2018-01-25 12:48:31 +01:00
Martin Prikryl
d7f2300ebe Protocol prefix ftpes:// for FTP over explicit TLS/SSL
Source commit: 7daf9d67f9d30d2d2b03cfa4b32e6380cfeec121
2018-01-24 17:43:34 +01:00
Martin Prikryl
d8f92984b9 First public commit of dev branch
Source commit: 98cb9d870efc1c60826db4398ec35c5cbe809e6a
2018-01-24 14:13:46 +01:00
Martin Prikryl
87c5906b1d 5.6.4 2018-01-11 15:36:57 +01:00
Martin Prikryl
5a9d22512f 5.6.2 2018-01-11 15:36:40 +01:00
Martin Prikryl
26b6b13bc8 5.6 2018-01-11 15:36:22 +01:00
Martin Prikryl
0c93cf6567 5.5.4 2018-01-11 15:36:03 +01:00
Martin Prikryl
1abb25b42b 5.2.3 2018-01-11 15:31:16 +01:00
Martin Prikryl
2e4b4738f0 5.2 2018-01-11 15:30:21 +01:00