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
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
a5dcb5f03c
Using std::size instead of custom macro
...
Source commit: 1a89c80dd42426351f261526b617534bab664208
2025-12-07 01:17:54 +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
74fdf539de
Clang imposed changes that should be noop and have no effect on classic compiler (2nd after 92ba1e3f0 + preceding commits)
...
Mostly
– explicit static global variables
– const, sign and down casts safety
– same-named variables in nested scopes
– incorrectly identified uninitialized variables
– semicolon after function implementation
– unused variables, fields, arguments and macros
– exact include filename case
– field initialization order
– typename use
– struct vs class declarations
– incorrectly identified uninitialized variables
– refactoring to solve Clang internal compiler error when using new variable in __finally block
Source commit: 3da995ff5169eefcfe3b3b7cc0d019c660096c07
2025-06-24 16:32:34 +02:00
Martin Prikryl
9fe6c68712
Consistently calling command to open window with specific directory Explore, instead of sometimes Browse
...
Source commit: 92b4ed8c0495c1e8b8ad9817639438047f5028df
2025-03-07 01:03:11 +01:00
Martin Prikryl
3dcb30ca22
Issue 2342 – Command-line interface for installing public key into server
...
https://winscp.net/tracker/2342
Source commit: 4dee00b059312367058fa5bcccac2cc187ad14a3
2025-01-25 01:04:17 +01:00
Martin Prikryl
40d4c7fafc
Including PuTTY and OpenSSL versions in /info
...
Source commit: b45828a5b6e3eb71c4d2ba7d9453919cff8a7d48
2024-09-26 19:28:41 +02:00
Martin Prikryl
b1447ff7b6
Typo in a comment
...
Source commit: 7bba029ad35ab00c60b9b8209981c6cf77a07cdf
2023-10-04 01:13:31 +02: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
de63014d9e
puttygen switches --new-passphrase and --old-passphrase are recognized
...
Side-effect is deprecation of syntax -P <newpassphrase> (which puttygen does not support)
Source commit: 5567942948efcdee16be6d313e8ccfbd8764e8d1
2023-04-01 01:09:59 +02:00
Martin Prikryl
282143321d
Certificate can be added to ppk key with /keygen
...
Source commit: bfa55a5809e2d72e17c9ed223247daf44f79b014
2023-01-04 00:55:38 +01:00
Martin Prikryl
64e39e9e21
Bug 2142: With password storing administratively disabled, the /rawsettings switch cannot be used to set passwords
...
https://winscp.net/tracker/2142
Source commit: 9da6941ad11f40f5a5804b626d8b5d104ae931ee
2022-11-30 00:59:09 +01:00
Martin Prikryl
c1a1f3e945
Bug 2102: Reading password from a file (also in commandline)
...
https://winscp.net/tracker/2102
Source commit: d289a6b641f6abdd82dd978b5b43bf14d62b915a
2022-09-22 00:58:25 +02:00
Martin Prikryl
9370bfd17f
Bug 1945: Streaming support in .NET assembly for FTP protocol
...
https://winscp.net/tracker/1945
Source commit: 01274024eff31ef3f5794f3521689b4c2229acbb
2022-04-29 16:21:05 +02:00
Martin Prikryl
9a417c3079
Bug 2070: Misplaced warning about unused scripting parameters when /rawsettings command-line switch is used
...
https://winscp.net/tracker/2070
Source commit: 3bc1f2daf0747e7cd455637b15c2732ca45b0116
2022-04-15 00:56:23 +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
ec22d33b1d
Factoring out IsTransfer
...
Source commit: e6155366a5349dcbe9e487f53bd7f2710eb43ec8
2021-07-14 00:47:56 +02:00
Martin Prikryl
221679d554
Checking for too many parameters with /keygen switch
...
Source commit: f3321d8a489ebd25308f7153c14018b1490addb3
2021-05-28 09:59:47 +02:00
Martin Prikryl
da478400c4
Generate PPK3 keys + Optimizing work with PPK3 keys.
...
Source commit: 524fdfacf5135c0892583610ca9a58c99234cf0c
2021-05-26 00:50:43 +02:00
Martin Prikryl
1dc5bc03c9
Bug fix: Do not say "Terminated by user" when the session has actually timed out.
...
Source commit: 2cf1314a501f2dcade0f3d30f88c39a5eba906d8
2021-04-01 00:48:57 +02:00
Martin Prikryl
2ec882ed95
Using an en-dash instead of a minus sign in window titles, local-local session names and various other places
...
Source commit: c4ea12980c1d69fe0a9560bcc5ba00810949212c
2021-02-16 00:46:17 +01:00
Martin Prikryl
069aa20fb3
Bug 1948: Debug information is printed at the end of the scripting session when debug logging level is set even if logging is turned off
...
https://winscp.net/tracker/1948
Source commit: c46326e83e52349ccc6f037c18a59a85d855e099
2021-02-02 12:01:59 +01:00
Martin Prikryl
2ee282d003
Merge branch 'hotfix'
...
Source commit: cc7e253dff68f4f946ec2df3eb433567793f5fb0
2021-01-26 13:31:32 +01:00
Martin Prikryl
faa96e8144
Bug 1943: Prevent loading session settings that can lead to remote code execution from handled URLs
...
https://winscp.net/tracker/1943
(cherry picked from commit ec584f5189 )
Source commit: 0f4be408b3f01132b00682da72d925d6c4ee649b
2021-01-22 00:43:21 +01:00
Martin Prikryl
b2bfc3e5a8
Chunked input is not implemented, and won't be for now
...
(cherry picked from commit 7c33df0838 )
Source commit: bebe3eeaa0ce16036ba4fc1f765f694bf58e768b
2020-11-26 12:34:00 +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
092b1539fd
With SFTP protocol files can be streamed to stdout in scripting using chunked encoding to distinguish multiple files (part of Bug 1738)
...
(cherry picked from commit c86def11d8 )
Source commit: 535a8d33c450b5d74786de1fc8b480c5a663f191
2020-11-26 12:08:42 +01:00
Martin Prikryl
8730059803
With SFTP protocol files can be streamed from stdin in scripting (part of Bug 1738)
...
https://winscp.net/tracker/1738
(cherry picked from commit 6e5c55fab9 )
Source commit: 09f43cc5c62848e1505e228a99baa3ad003cfff5
2020-11-26 12:01:46 +01:00
Martin Prikryl
cebb4e2a67
With SFTP protocol files can be streamed to stdout in scripting (part of Bug 1738)
...
https://winscp.net/tracker/1738
(cherry picked from commit 891e603d76 )
Source commit: 3f802e465066617a548a7b73d3b4cab654553b69
2020-11-26 11:46:19 +01:00
Martin Prikryl
f18a7c022b
Refactoring TConsole interface
...
(cherry picked from commit d2afd421bf )
Source commit: 850e8690d7ba1fdaac976fa1a91a83738517999b
2020-11-26 11:30:44 +01:00
Martin Prikryl
d8499582d4
Added /nointeractiveinput to usage screen
...
(cherry picked from commit ada8a09bf0 )
Source commit: 249f2d44597b3ecd15e0c01c13d9ff6e75c43ed9
2020-11-26 11:29:21 +01:00
Martin Prikryl
809cf184ac
Bug 1821: Alternative way to provide credentials in scripting/command-line without URL-encoding
...
https://winscp.net/tracker/1821
(cherry picked from commit 4fd4cfb6e5 )
Source commit: f59af04612a1fb28a685ace02aef573b426e4de7
2020-11-26 11:16:49 +01:00
Martin Prikryl
354626cb12
Bug fix: SHA-1 fingerprint of TLS/SSL certificate was incorrectly presented as MD5 by Session.ScanFingerprint
...
Source commit: 84a05cb0005a569ce7c44a5b569565ec4c53ae5b
2020-03-31 01:17:07 +02:00
Martin Prikryl
84e5d425c0
Typos
...
Source commit: ad4e15817ffb3618a423832deff7c83b4d86abdb
2020-02-01 02:35:51 +01:00
Martin Prikryl
9015d8106a
Command-line switch /browse to either force opening the main window when a file URL is specified or to explicitly select a specified file in both file panels
...
To be used by Bug 1784
Source commit: c3858c36b938b52835cf4144ba9247c48b303fe8
2019-09-11 00:48:53 +02:00
Martin Prikryl
4c0917b517
When using a scripting console interactively, not warning about opening a session from a command-line or using a stored site
...
Source commit: be2b4d46dd2230a7e8b4f07f35274c0551c9bfdd
2019-09-05 01:02:22 +02:00
Martin Prikryl
957b0d58ca
/passphrase command-line switch was not documented (should have been in f3518083)
...
Source commit: 943224a8c70e37c683fe30803a9754c8fcc85240
2019-06-27 01:39:00 +02:00
Martin Prikryl
870d4a5c7c
Some tokens were not wrapped in angled quotes + Better value placeholder names
...
Source commit: 9a1acbde784b25672dd27bf9f7187301ea47df15
2019-06-27 01:23:58 +02:00
Martin Prikryl
2061ad0031
Bug fix: It was not possible to mass-modify stored sites, when a master password was set (2nd)
...
Previous implementation broke a prompt for master password, when logging to a site wit encrypted passwords.
Source commit: 0cf714c96ffbdcc593c094f7a30a35664e275aff
2019-05-03 02:06:35 +02:00
Martin Prikryl
e689da0b44
Bug fix: Errors while mass-modifying sites were displayed in message box instead of console window
...
Source commit: f37b0c95dd58fdc65a32d5486422eb9303ecef58
2019-04-04 03:39:40 +02:00
Martin Prikryl
1d4e4569a0
Bug 1706: Tool for clearing broken COM registrations
...
https://winscp.net/tracker/1706
Source commit: 4657333708eef2015581028778c5bd271b716088
2018-11-24 01:48:45 +01:00
Martin Prikryl
8a549605ac
Refactoring
...
TConsole::PrintLine
Source commit: 2296108c443953bdad1685fe13e80647aa58e41b
2018-11-24 01:16:29 +01:00
Martin Prikryl
b96ac34d28
Bug 327: Synchronization can be started in a new window
...
https://winscp.net/tracker/327
Source commit: bf1d105fdfc05440e5e3397c282eea8c6a394888
2018-11-13 01:01:20 +01:00
Martin Prikryl
2dca484bb8
/rawtransfersettings command-line switch to configure any transfer settings using a raw format as in an INI file + Using the switch when starting "Keep remote directory up to date" in a new window
...
Source commit: 2cb6ac32ec67b89eede9d4b2e45f91ddbc3f8061
2018-11-08 04:22:52 +01:00
Martin Prikryl
60875e3fe2
List of supported ciphers and algorithms can be printed using /info command-line switch
...
Source commit: 66090389e3bdb71e4ca50d70bb022352e7f53dd3
2018-08-24 01:09:06 +02:00
Martin Prikryl
0148b88adf
With logging level 1 and higher, printing exit debug information on output too.
...
Source commit: 99cb32f0b41f47c3ba525a9552959705ae045eb3
2018-07-25 01:42:05 +02:00
Martin Prikryl
9703c4b4f5
Waiting longer for a callstack
...
Source commit: d3c58050aad80f06db6df73642f6c38f1b11e6d2
2018-06-07 00:56:42 +02:00