Martin Prikryl
fe0da5cacc
Typo in a comment
...
Source commit: 9bb55e5d633b0de9fc28ce993a8168858eb1a653
2026-05-22 00:53:37 +02:00
Martin Prikryl
d46422070d
Issue 2339 – Find WinSCP.exe in process path if assembly path is unknown
...
https://winscp.net/tracker/2339
Switching to the latest (12 atm) C# version (was using 9 so far).
In this commit for [] collection initialization particularly, but wanted to do it for a long time already
Source commit: c49962a35cb7f3f4b8c4f5e0718f51749fd5855c
2025-01-24 01:10:07 +01:00
Martin Prikryl
5c7a4f3ab4
Bug fix: When reading input Stream in .NET assembly upload fails in 64-bit process, the transfer is not interrupted
...
Source commit: 5f7060355fcd15b6d610c0701389372f6bd85d55
2023-04-28 08:39:35 +02:00
Martin Prikryl
b1635abd39
Bug 2075: Prevent occasional exhaustion of resources while testing WinSCP executable version on repeated use of .NET assembly
...
https://winscp.net/tracker/2075
Source commit: f21a2a4cfade21ca0e826d78f8e934a775e223d5
2022-05-17 00:51:35 +02:00
Martin Prikryl
9a8c1d5771
Bug 2055: Make Session.ExecutablePath return detected or actual executable path when not set
...
https://winscp.net/tracker/2055
Source commit: 1e53d0a9e6caaafbb509ba848e46510b0b62e6f3
2022-01-13 00:52:22 +01:00
Martin Prikryl
e765accf02
Whitespace
...
Source commit: b40a76858427e1858fad3ab09e9676b9dd8bb369
2021-03-30 00:49:25 +02:00
Martin Prikryl
0a94b40638
More code to debug .exe version reading + Displaying .exe SHA-256 hash in hex
...
Source commit: 101d869dd41916269f2b6f584e7c67bfa77cf27d
2021-03-27 00:48:41 +01:00
Martin Prikryl
70c74e7a2b
Bug fix: Hang when the stream returned by Session.GetFile is closed before the download finished
...
Source commit: da8e7f9243b6815c31e57b70103c951e299b7659
2021-01-21 00:44:24 +01:00
Martin Prikryl
8ab9ca149d
Bug 1936: Setting the logging level to -1 (Reduced) does not work in .NET assembly
...
https://winscp.net/tracker/1936
Source commit: 8641a5952d8b8d66cae7413f1f5344ce17c39c1c
2020-12-23 00:48:23 +01:00
Martin Prikryl
f17ecfa8be
Write, CanWrite, Length and Position methods and properties of the Stream returned by Session.GetFile behave as expected for a read-only steam
...
Source commit: 0c2c935eab20b4988d7e109b049cc0c39317ab8a
2020-12-11 00:46:30 +01:00
Martin Prikryl
4e798aa1c4
Applying some code analyzer suggestions
...
Source commit: 2236553766f964d4e7580e5576822f423596e337
2020-11-28 00:55:55 +01:00
Martin Prikryl
9875f708f3
Logging SHA-256 of WinSCP.exe, when its product version does not match .NET assembly
...
(cherry picked from commit 8b3bcbd3ff )
Source commit: a22ba21b802e84176cb6a8bff30eda9685c4aa00
2020-11-26 16:11:37 +01:00
Martin Prikryl
e0728d5bf7
Inline variable declaration
...
(cherry picked from commit 48f34a2071 )
Source commit: 23c19df82a327a81a5be71e0223b41354b79b47c
2020-11-26 15:49:09 +01:00
Martin Prikryl
a582427ca0
Improving validation of executable file (2nd)
...
(cherry picked from commit febfcac294 )
Source commit: ad05be523b1ab973b03c578ff2f88ba6dbe02e1f
2020-11-26 15:10:31 +01:00
Martin Prikryl
899d4bae53
Improving validation of executable file
...
(cherry picked from commit cafa4675d1 )
Source commit: bce6cddb45886f8b9917a127b4cfbb41fa6d39e0
2020-11-26 15:01:49 +01:00
Martin Prikryl
311e484008
Bug 1738: Stream interface in .NET assembly (upload)
...
https://winscp.net/tracker/1738
(cherry picked from commit 60c2cab3e0 )
Source commit: 161b741ded5edbb450bf5a9a2581b5cb6ce5c12f
2020-11-26 12:41:08 +01:00
Martin Prikryl
af9bccd226
Actually throw the exception (though it has little impact, as it is swallowed later)
...
(cherry picked from commit a90af92a58 )
Source commit: 2b484c63a4e396b0a0da00bc047dfa913145ef3b
2020-11-26 12:32:37 +01:00
Martin Prikryl
9fd355f563
Moving chunked output encoding to winscp.com, keeping the console API interface pure binary
...
(cherry picked from commit 469758e2ba )
Source commit: 6909a100a75c21ed95cfbd2d736634b49a309368
2020-11-26 12:28:25 +01:00
Martin Prikryl
1747f92ac3
Bug 1738 – Stream interface in .NET assembly (download)
...
https://winscp.net/tracker/1738
(cherry picked from commit 56db37fceb )
Source commit: 8bfb7c64b2c98cd69546a2ad027a6025bbefa7bc
2020-11-26 12:21:39 +01:00
Martin Prikryl
70a1459b31
Entry assembly can be null (e.g. when running unit tests)
...
Source commit: 97f6270d37f1b1bbddf89b1e4bbb5fd607092bd9
2019-10-26 00:49:38 +02:00
Martin Prikryl
30a29416ac
Looking for WinSCP.exe also in entry .NET assembly folder
...
To support running in .NET Core applications from Visual Studio that use NuGet packages installed in user profile folder
Source commit: 9a28e66ce1b771a3b18d0a08b7efd039193ba6b2
2019-10-25 01:40:19 +02:00
Martin Prikryl
3195d901ac
Bug 1777: Do not obsolete Session.DisableVersionCheck
...
https://winscp.net/tracker/1777
See 1225978c and 472980fc
Source commit: 9082bf3d96ab8460227e129b91c63be0a7f8c2c3
2019-08-19 00:42:26 +02:00
Martin Prikryl
8e45684db4
Bug 1741: Failure in .NET assembly when ProgramFiles(x86) environment variable is not set and WinSCP executable cannot be found anywhere
...
https://winscp.net/tracker/1741
Source commit: 5d844ddb038aa559aa73b24aa2d36c5fd6da9412
2019-04-19 01:16:04 +02:00
Martin Prikryl
8fb07d871c
In .NET 4 we can use RegistryKey.OpenBaseKey(hive, RegistryView.Registry32)
...
Source commit: 852d02b9da2135caae37cf9a44d280ba0f2a5d06
2018-12-11 01:04:58 +01:00
Martin Prikryl
78506ae1b7
Transfer settings that do not have a dedicated scripting switch or a .NET TransferSettings property can be set using -rawtransfesettings switch or TransferSettings.AddRawSettings method + Generated script/code can generate these + Tests that previously used AddRawConfiguration(@"Interface\CopyParam\...), use AddRawSettings now. + It's possible to limit number of command line parameters used for open-ended switches like -rawconfig, -rawsettings and -rawtransfesettings using syntax -switch[count] + Fixing GetFilesExcludeEmptyDirectories test (it didn't upload hidden files previously)
...
Source commit: 4a84ba5ed0f2f09f4815c11cb4714e0c2ef7fc12
2018-10-12 01:45:30 +02:00
Martin Prikryl
d49ae8072b
Bug 1640: Support for .NET Core/Standard + Supporting .NET Framework 4.0 and newer only
...
https://winscp.net/tracker/1640
Source commit: 817bf4ffa77497183362850fdcef2691c066e1ca
2018-04-25 04:02:12 +02:00
Martin Prikryl
ccc0ce3cd7
When WinSCP process stops responding, .NET assembly tries to log its main thread callstack
...
Source commit: c7d5a02450c4f57138a316e8357dd498226a3c8a
2018-01-28 18:53:52 +01:00
Martin Prikryl
b57798e2c8
Bug 1594: Custom error handling instead of default abort can be optionally implemented for batch operations in .NET assembly
...
https://winscp.net/tracker/1594
Source commit: 0cce3541a5e42f3df57071f88d07c2c9c473064a
2018-01-28 18:27:19 +01:00
Martin Prikryl
87ee572118
Delegate invocations with check for null replaced with ?. operator
...
Source commit: 6541164eb2276378c284d70c6b5186251220eb4b
2018-01-28 15:50:31 +01:00
Martin Prikryl
601996a40d
Inline object initializations
...
Source commit: 513045ecbe82058c1bf7c6d92d16fc17807163ca
2018-01-28 15:49:30 +01:00
Martin Prikryl
87d3e2804d
Inlining out parameters declaration
...
Source commit: a3965de2b036daabe4470573db59e7f6b1aebd84
2018-01-28 15:48:29 +01:00
Martin Prikryl
6805e5a631
Bug 1532: Allow canceling file transfer in .NET assembly
...
https://winscp.net/tracker/1532
Source commit: 8a404c04df8fef7a168b94d17e9e982b533a4b7b
2018-01-28 06:48:15 +01:00
Martin Prikryl
3aaa12e55a
Whitespace
...
Source commit: e549e0f9b9ef67636838f8b1979894b09e3b76f5
2018-01-28 06:45:16 +01:00
Martin Prikryl
3826bbdf31
Logging exceptions
...
Source commit: ebd1d9a5e3cfcaaa3e48c591734b870135bf633c
2018-01-28 04:54:07 +01:00
Martin Prikryl
3884ab3e43
Bug 1495: WinSCP .NET assembly fails when finding WinSCP executable in its installation folder
...
https://winscp.net/tracker/1495
Source commit: f76e7f69326aaf17d1c136f085001e55ff19c529
2018-01-28 01:59:30 +01:00
Martin Prikryl
472980fce2
Correcting .NET assembly version update during build, broken by 425dfa1050 Shared definition of assembly version + Dev build does not do version check
...
Source commit: 3ab22033d7b1da7818b3a1f7db45d8bb7cc01aee
2018-01-28 00:16:20 +01:00
Martin Prikryl
11903086f8
Bug 1475: Mask out password in .NET assembly output log
...
https://winscp.net/tracker/1475
Source commit: f70363c489d8acb04445b63c863b5ad27d44363d
2018-01-27 22:30:31 +01:00
Martin Prikryl
bfc9a27fa4
Merge branch 'master' into dev
...
Conflicts:
source/WinSCP.cbproj
Source commit: 5bff9a13cd78cc85fbb31c5580b58e8582bb2240
2018-01-27 09:32:09 +01:00
Martin Prikryl
4e9fe0e04f
Reporting errors when XML logging fails as disk runs out of space
...
Source commit: 5434d35f3a0441633b2c55fd06fd753aacf14c85
2018-01-27 09:22:15 +01:00
Martin Prikryl
4f9e1a8a04
Merge branch 'master' into dev
...
Source commit: 4f8918904e24c76309c69285030ae553403d8867
2018-01-27 09:04:35 +01:00
Martin Prikryl
739026f560
More detailed error message when fatal error (such as inability to write an XML log file) occurs while .NET assembly is starting winscp.exe
...
Source commit: f531866c0b6f9530dd196836270ca9959640425e
2018-01-27 09:03:36 +01:00
Martin Prikryl
bbe7a35b39
The (unused) /dotnet and /console version parameter values use long-format as we are now at 5.10
...
Source commit: cd9ea09896c8c4d7215628cb72c3a55a37642298
2018-01-26 10:08:23 +01:00
Martin Prikryl
0fa5cce2c1
Code analysis warnings
...
Source commit: 453ba5ffb4d3ae31ee121deb1ff22506143f02a2
2018-01-26 00:42:59 +01:00
Martin Prikryl
2eaab7ac92
More console communication logging
...
Source commit: 0d9bc47a159c88a81aab1b9597abbd89be37ac89
2018-01-26 00:30:04 +01:00
Martin Prikryl
4729670366
Logging external console round-trip on debug level 1
...
Source commit: 72380bc5ae70359af47ae4c31166b89fb74a9d33
2018-01-26 00:23:10 +01:00
Martin Prikryl
c852b7fb72
Logging memory on debug level 1
...
Source commit: 99b2931a2d8ddab1d7f70c42ab104e310afe38b5
2018-01-26 00:15:15 +01:00
Martin Prikryl
b3c80033bf
Prevent .NET assembly from timing out during lengthy file transfers
...
Source commit: 3c39523f6e425c51fa67d1fb221c4c751a27e85f
2018-01-26 00:12:35 +01:00
Martin Prikryl
61a5fffd60
Whitespaces
...
Source commit: fc19e57b9399bc036f2c175b825da4c48a04929c
2018-01-25 23:58:08 +01:00
Martin Prikryl
9db4b4392e
Bug 1421: WinSCP .NET assembly cannot find WinSCP executable in its installation folder not the default installation folder when used in 64-bit process
...
https://winscp.net/tracker/1421
Source commit: 99d20e9f06f4db56100ef1129595a124a64e8f87
2018-01-25 23:54:27 +01:00
Martin Prikryl
197c95a87b
Bug 1394: API/Method Session.ScanFingerprint to scan server's hostkey or certificate fingerprint
...
https://winscp.net/tracker/1394
Source commit: 485a5f31fce53e51009c606533c7b1f34fe257d7
2018-01-25 14:01:08 +01:00