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

277 Commits

Author SHA1 Message Date
Martin Prikryl
c2ff99464d Issue 2392 – Command md5sums is incorrectly used to calculate MD5 checksum instead of md5sum
https://winscp.net/tracker/2392
(cherry picked from commit 2d1584ef93)

Source commit: ed398d7147fdd0089eeddcf2fc4409fbaff39714
2025-07-28 01:13:08 +02:00
Martin Prikryl
9fc373f067 Issue 2379 – Failure when canceling reconnection on authentication banner, when the connection was already closed by the server
https://winscp.net/tracker/2379
(cherry picked from commit ba8994ca1f)

Source commit: eb15ad855f5235f1daa6b336fbed510117fc6443
2025-06-03 17:48:43 +02:00
Martin Prikryl
2817363be8 Typo in logging
Source commit: 370895085717826a2edcb446bb097badd49a4411
2025-04-29 00:58:36 +02:00
Martin Prikryl
f02b75470e Some (hopefully noop) refactoring to solve Clang internal compiler error when using new variable in __finally block + Some other small code changes imposed by Clang
(cherry picked from commit 92ba1e3f0e)

Source commit: 61a79bd46194d4318828269d21fe548f508dda03
2025-03-14 16:21:31 +01:00
Martin Prikryl
5dc46ec23f Clang identifies some functions as "noreturn" + one noexcept(false)
(cherry picked from commit 7b54dde3a6)

Source commit: e6fd24a871e574ed762797210a5ce126deeab1f3
2025-03-14 16:19:14 +01:00
Martin Prikryl
3f4e41fee0 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

(cherry picked from commit f7f00c631e)

Source commit: 90ad9390853aba308abe73cf02e0281238c53c87
2025-03-13 16:46:26 +01:00
Martin Prikryl
8cd48fd0e5 Code errors identified by Clang
Notably:
Bug fix: Monospace font is not remembered if SSH banners are administratively forced
Change: Bug fix: In XML log, filename tag was included in stat tag, although explicitly documented not to

(cherry picked from commit 4019b56ffb)

Source commit: 8f8d10bc0c9f4ca626dceda1d3e9889dc22f4394
2025-03-13 06:42:18 +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
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
ef4e1e87ab Unused parameter
(it seems that it was never used)

Source commit: 7a61240971f9606d2156e588352db3f63d531e7f
2025-01-24 01:14:40 +01:00
Martin Prikryl
ff0a744b58 Issue 2335 – Tunneled session password is not remembered
https://winscp.net/tracker/2335

Source commit: ce6d0598ef31e1871eaecd8d67c9b0f6a81b7d39
2025-01-03 16:49:05 +01:00
Michael Lukashov
400bee57cf minor: Fix typos (#59)
Fix various minor typos
2024-12-25 11:25:35 +01:00
Martin Prikryl
cbd7e799df Issue 2318 – Optionally push synchronization actions to queue
https://winscp.net/tracker/2318

Source commit: 8d79009ebeabde5ce762a82d61f36e18c1517d9b
2024-12-23 15:48:13 +01:00
Martin Prikryl
c3aadded64 Factoring out some commons synchronization checklist functions
Source commit: 476fef1cfeea061ec1d35cdb24b2528263eaf247
2024-12-14 01:15:01 +01:00
Martin Prikryl
fb3489c2ec Ongoing local delete operation can be moved to a background queue (only on a remote tab, as local tabs do not have a queue)
Primarily to allow Issue 2318

Source commit: 6145552c9ea62fcf0b13f5d414c9a0b38fbf2f41
2024-12-11 01:26:14 +01:00
Martin Prikryl
e613fa29fe Bug fix: When moving an ongoing delete operation to background queue, it might attempt to delete the current file again, failing the operation
Overall, the test for cancel is probably redundant for all scenarios. But to limit impact, I'm keeping it for most scenarios, except for the delete.

Source commit: c24c339bd5c5621a74c356b8189487e35dc2ab41
2024-12-11 01:21:14 +01:00
Martin Prikryl
1162407e42 Commit 19ae9e1d broke cache invalidation of uploaded subdirectories
Source commit: 49697ac3b4216b850de8d58e589a27b3950bffe0
2024-10-31 00:57:45 +01:00
Martin Prikryl
19ae9e1dca On Synchronization checklist window Move command can be used with a set of orphaned files and new folder in source directory
... to create that directory on the target side and move the orphaned files there

Source commit: 11d34258171557f7d9e38ee80132d000f77c939e
2024-10-18 00:51:18 +02:00
Martin Prikryl
1ae9bc261e Logging memory use
Source commit: 462fbe382672518108065de26b20243398f38ed6
2024-09-21 01:02:57 +02:00
Martin Prikryl
3a3f514c59 Issue 912 – Thumbnail view in file panel (remote)
https://winscp.net/tracker/912

Source commit: 8fbf80f9ea42f043cfb856821f474c80da45aa5e
2024-09-05 13:05:19 +02:00
Martin Prikryl
9f9d4655f1 Easier use of TValueRestorer
Source commit: 605e98cefaa62284f2b1150fdc355e88d48bdbd3
2024-03-20 13:56:00 +01:00
Martin Prikryl
d2deb06e87 Bug fix: Possibility that files in root folder were incorrectly used
Source commit: 88e091dd7ad1cbdac404d6e883ff8a44aa89b316
2024-03-12 14:36:12 +01:00
Martin Prikryl
e782da2c87 Issue 2260 – Failure when trying to synchronize files by checksum on server that does not support it
https://winscp.net/tracker/2260

Source commit: d23d1a3ca251922e98b128ea807f120a690fe517
2024-02-21 01:03:48 +01:00
Martin Prikryl
aa964c3fd2 Ignore attempts to directly move/duplicate file over itself, as if protocol requires deleting, the file would be lost
Source commit: 0a3fb92c74e25dfc9d99ea868f03a50a5c8586ec
2024-01-10 19:11:31 +01:00
Mikhail Lukashov
a8e6220b88 fix typos 2024-01-05 10:37:32 +01:00
Martin Prikryl
9a06496936 Bug fix: When S3 or WebDAV server did not provide file timestamp, downloaded file was set to oldest possible timestamp
Source commit: cfb2d3d552d1c7d4192a6d152a9c4fd105f22484
2023-11-24 01:19:20 +01:00
Martin Prikryl
e6f16c13f9 Failure when moving files using FTP, caused by fbf8bdb1
Source commit: c09ff9ada6a917a59b00a79ad9f5d1f0d27bdf62
2023-11-07 10:11:17 +01:00
Martin Prikryl
804ec9c9c9 Bug 52: Use file hash as criterion for synchronization
https://winscp.net/tracker/52

Source commit: 66fd353f8e26a7bd3317ee7cc4e6d15e7d6cfb52
2023-11-07 02:03:32 +01:00
Martin Prikryl
fbf8bdb1b0 When overwriting existing remote directory while duplicating using secondary shell, removing the existing directory using the shell too
Improvement of Bug 2233 implementation

Source commit: 3f8be5abd7521ad105bd97bd653a7178ccbccf6e
2023-11-07 01:45:01 +01:00
Martin Prikryl
86c89666a7 Factoring out CommaTextToStringList
Source commit: eda1757e64fb790acd85e0399f387b44f420146b
2023-11-02 01:31:01 +01:00
Martin Prikryl
d7ceff3eea Bug 2233: Consistent behavior across protocols and protocol capabilities when duplicating remote files
https://winscp.net/tracker/2233

Source commit: 2e8369131ae6d964b6d454036c2b79472142e06e
2023-10-25 12:59:49 +02:00
Martin Prikryl
700baf45ee Restoring consistent behavior of failing, between duplicating and moving/renaming files over existing file with WebDAV protocol in scripting and .NET assembly
The discrepancy was introduced by Bug 2120 cb021fe3.
This restores the mv/MoveFile behavior to fail, if the target file exists with WebDAV protocol (but still allows overwrite in the GUI).
The cp/DuplicateFile behavior is unchanged, but the internal API was modified to match that of mv/MoveFile, in anticipation of aligning move/duplicate command behavior in GUI and need to keep current scripting/.NET behavior.

Source commit: 4661a3ea7ec8123231e376aae9913ce8457750dd
2023-10-25 01:43:14 +02:00
Martin Prikryl
59393658a0 Bug 2227: Restored ability to duplicate remote folders using "cp" command in secondary shell session even when the SFTP server supports copy-file/copy-data extension
https://winscp.net/tracker/2227

Source commit: 9a0ccf0972df5275cdf7409a6e6d0d1e283a8210
2023-10-04 01:16:01 +02:00
Martin Prikryl
bf7bdabcfa Bug 2226: Failure when error occurs on secondary shell session with Continue on error option enabled
https://winscp.net/tracker/2226

Source commit: 692013f40d3854d57185e9871623f15d142411d5
2023-10-04 01:10:16 +02:00
Martin Prikryl
c034f6c808 Bug 2222: Allow disabling SFTP extension use
https://winscp.net/tracker/2222

Source commit: 46cf6d64305cfb253f6b4c099633eec468c13c7b
2023-09-16 01:11:05 +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
52cf67f62d Bug 2209: Improve behavior when moving/renaming over an existing folder
https://winscp.net/tracker/2209

Source commit: d7a7d5b2efeb6d81bafe7e18f60457fdbd4e11d1
2023-08-07 01:15:03 +02:00
Martin Prikryl
c7ab4b7329 Improving error reporting when merging parallel file parts fail
Source commit: 4ea577f294df45f8d830aff9aabd3e9655e02317
2023-08-05 01:09:51 +02:00
Martin Prikryl
8743ba374e Do not try to merge or validate partial parallel downloads when the transfer fails or was canceled
Source commit: 72f354c3b1d79237f43031accd9418e2716381be
2023-08-05 01:07:07 +02:00
Martin Prikryl
f8dd7a5642 Correcting error formatting
Source commit: 5da390e37acd64dc9656a4c43797c6990f66565d
2023-08-05 01:04:17 +02:00
Martin Prikryl
4eaf58404c Replacing redundant DeleteDirectory with RecursiveDeleteFile
Source commit: 2fd7838172df272fa63429fdaf0d5ce3157c98d5
2023-07-31 01:02:29 +02:00
Martin Prikryl
93b0df962e Unused variable
From 1aee6f14

Source commit: ecf67583d0eb2906baa9cf7a1ecd393840d9160e
2023-07-28 13:46:36 +02:00
Martin Prikryl
ba2b357ff8 Missing include
Strangely it's not needed on my dev machine

Source commit: 9a39bb6a7b9dfd3f42e29652da2ee2a9498fadc8
2023-07-28 11:11:24 +02:00
Martin Prikryl
1aee6f1464 Bug 513: Download single large file using multiple SFTP connections
https://winscp.net/tracker/513

Source commit: d57dcad76dfe8b333dfedd8419bce984a181280c
2023-07-27 01:02:51 +02:00
Martin Prikryl
cd89d4e431 Restoring ExceptionOnFail
Source commit: e488be51c0fbd1af4a3a5c6cda3a547c2230c93f
2023-07-22 14:57:34 +02:00
Martin Prikryl
c9390ec2f8 Factoring out TSearchRecChecked::GetFilePath()
Source commit: 520a6513e98fa51aaf4bf4609dd5f187291ab035
2023-06-29 01:06:58 +02:00
Martin Prikryl
31180dbc27 Bug fix: Special characters in directory names were not correctly restored when uploading on background with multiple connections for single transfer enabled
Source commit: 3d81efe5d8bf1a6cc27d5fd1833e7b7f5c3eda9f
2023-06-28 01:33:25 +02:00
Martin Prikryl
89d75d4c38 Bug 2191: WebDAV or S3 certificate that is recognized by Windows Certificate store, but have other issues, cannot be marked trusted by the user
https://winscp.net/tracker/2191

Source commit: cf7138b2d7b74a8bcf3c7d6a50b9c788b2371910
2023-05-22 17:08:48 +02:00
Martin Prikryl
16aca462b2 Factoring out VerifyOrConfirmHttpCertificate
Source commit: ca328bed694998bd51fd74c95e8c08350d9a1394
2023-05-22 15:08:36 +02:00
Martin Prikryl
9dcaa8a7f3 Refactoring TTerminal::ReadFile + Adding TTerminal::TryReadFile + Solving memory leak on the way
Source commit: 4a5c5634006d2bd9a1c6c4831d0e528b91ecd9ae
2023-03-24 00:54:30 +01:00