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

133 Commits

Author SHA1 Message Date
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
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
3d60a5155d Reimplementing c45ae10d to avoid need to include non-public API and [Ss]ecure.h conflict
Source commit: 6c22595f54cd117f9104f4c146ed9d3219ef7784
2025-08-21 00:58:48 +02:00
Martin Prikryl
c45ae10ded Optimizing startup time by delaying neon SSPI initialization until the first WebDAV/S3 connection
Assuming we do not need SSPI for plain HTTPS connections (like updates check)

Source commit: c9dd331a99d5fe0d0ba97aa2210e3b4e5689ad35
2025-08-20 01:07:42 +02:00
Martin Prikryl
6f1951374a Issue 2367 – WebDAV authentication is endlessly retried when both SSPI/NTLM/Negotiate and other authentication method fails
https://winscp.net/tracker/2367

Source commit: 554cb433189890a584db96e12eadee4915fab26e
2025-04-15 11:16:30 +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
e202af0bdc Issue 2353 – Display and modify S3 file/object tags
https://winscp.net/tracker/2353

Source commit: 2193f9e58d66031ce58013da6a509090582addbe
2025-03-04 15:13:03 +01:00
Martin Prikryl
82ca508ba5 Bug fix: Unicode contents in web sources was incorrectly decoded
Casting RawByteString to UTF8String does not properly decode UTF8

Source commit: 85ab7076039c7fc9f8b35c73b7c843ed6f892834
2025-02-28 01:09:12 +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
5ed3336f29 AWS metadata service connection timeout is by default one second and AWS_METADATA_SERVICE_TIMEOUT is respected
Source commit: 59fc680d0aaab81fc29e111bca22267edf7df510
2025-01-22 17:52:59 +01:00
Michael Lukashov
400bee57cf minor: Fix typos (#59)
Fix various minor typos
2024-12-25 11:25:35 +01:00
Martin Prikryl
ae9b173170 Issue 2327 – Failure when opening TLS connection with invalid OpenSSL configuration file
https://winscp.net/tracker/2327

Source commit: ee33d2badfff95c721fe412c86e7b305674e6703
2024-11-20 01:09:37 +01:00
Martin Prikryl
bf49481672 Reusing variable
Source commit: 2ecec49cafc6ffd725c05b61dce44e9e99de76a5
2024-11-20 01:05:14 +01:00
Martin Prikryl
03bf4e7047 Issue 2321 – Compatibility with new OneDrive WebDAV interface (2nd)
https://winscp.net/tracker/2321

– Ignoring empty text/xml 207 MULTI-STATUS response to MKCOL request
– Special comma-encoding of directories do not seem to happen anymore

Source commit: 86ab2712ebb7202d44a39866dd601cae4d891f28
2024-10-31 00:59:44 +01:00
Martin Prikryl
8246dd6316 Issue 2321 – Compatibility with new OneDrive WebDAV interface
https://winscp.net/tracker/2321

Now always sending Authorization header, even after receiving session cookies
It seems that the new server/interface does not care about the cookies, but keeping them for compatibility with the old server/interface.

Also normalizing returned URI to CID with the same letter case as the session have.
Though more correct would be to "redirect" user to the correct letter case.

Source commit: f7488c63bc7e42af7877b126f48d1208c39b448f
2024-10-25 17:20:45 +02:00
Martin Prikryl
beb989163a Issue 2312 checks do not work on OneDrive
Source commit: 112303c9a0ec16089a90a7372b734691cbe39908
2024-09-13 00:55:33 +02:00
Martin Prikryl
1d064d853a Issue 2312 – Ignore WebDAV PROPFIND result entries that do not belong to the requested directory
https://winscp.net/tracker/2312

Source commit: d3b639d16eb07ae5e9e57c972ead0ea5adf39842
2024-09-12 00:53:45 +02:00
Martin Prikryl
53e15d05be Issue 2293 – Cannot download from WebDAV server when the request is redirected to the same path on another server
https://winscp.net/tracker/2293

Source commit: ee1e5d6c1ee72afb9e1feffcf6f4f7fc7a7aa86d
2024-06-05 01:37:58 +02: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
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
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
3b274122a7 OpenedSessionsWebDAVAuthBasic counter
Source commit: 7c8381ffcb5166effa3ad8c75682313eae09b23a
2023-10-17 01:05:28 +02:00
Martin Prikryl
acd12ea3d7 More meaningful error message when credentials are missing in scripting and .NET assembly
Source commit: a374ebe71eea553a366120f46b8d3169ad735a7a
2023-08-25 01:10:22 +02:00
Martin Prikryl
9ffd61b6df Bug fix: Potential failure when opening unencrypted HTTP/WebDAV connection
Caused by Bug 2034

Source commit: b93f34c4e00ed58793e788815e55ddf0b07707f9
2023-08-18 01:22:34 +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
16aca462b2 Factoring out VerifyOrConfirmHttpCertificate
Source commit: ca328bed694998bd51fd74c95e8c08350d9a1394
2023-05-22 15:08:36 +02:00
Martin Prikryl
034cef6f3e Dead link
Source commit: feb61f2ef3093cc0dd595a4cc5c4a2d293195fb5
2022-12-09 00:59:01 +01:00
Martin Prikryl
c1c38aeae7 Links update
Source commit: f68f3e1306042c250cab9f77d191cba821e6ffbe
2022-10-22 08:25:02 +02:00
Martin Prikryl
360e16107b Bug 2126: Moving WebDAV transfer to background aborts the transfer if the server commits the interrupted foreground transfer
https://winscp.net/tracker/2126

Source commit: d69d538e9269fcad6189f93497aca6b8cd20c5f9
2022-10-18 00:58:12 +02:00
Martin Prikryl
81ad6d2e50 Comment on possibility of _open_osfhandle failing
Source commit: 0c8dadf66b81628c9913f504d06f8b8c743c7e2c
2022-10-06 01:01:34 +02:00
Martin Prikryl
cb021fe3e3 Bug 2120: Consistent behavior across protocols when renaming/moving remote files
https://winscp.net/tracker/2120

Source commit: 0f11f96996352d8354d27e06d699e2c3baa4653f
2022-10-01 01:03:37 +02:00
Martin Prikryl
718ed232c1 Bug 1667: Support redirected WebDAV downloads (even to other hosts) – 2nd (preserving query strings)
https://winscp.net/tracker/1667

Source commit: 64372e53b3d64e4236b4db50c305d4401c440f2a
2022-09-15 00:54:20 +02:00
Martin Prikryl
ca4134cd8a Unused variable
Source commit: a643b0b1d4cc0bef5a0f527c1183dd768880ee03
2022-08-24 00:51:42 +02:00
Martin Prikryl
259af899ce Bug 1667: Support redirected WebDAV downloads (even to another hosts)
https://winscp.net/tracker/1667

Source commit: a579883243a3cb477937909d1c6230fe6224af14
2022-08-23 00:50:31 +02:00
Martin Prikryl
8994d1f98e Simplifying CalculateFilesChecksum API
There's a small side-effect: The scripting "checksum" command now prints file name only while before it printed the path as it was original specified in the command.

Source commit: 7594ed8befc67e4da3153cc8b1b711ab104db867
2022-07-14 00:57:43 +02:00
Martin Prikryl
03e38c75ae Refactoring checksum calculation to share more code between FTP and SFTP in anticipation of reusing it for SCP/Shell
Source commit: 9a5138737031573ad64085fa64ef8fdd7fca8f77
2022-07-02 01:05:31 +02:00
Martin Prikryl
33bfa5d551 Bug 2085: Workaround for specific encoding of commas in filenames (and particularly directory names) by OneDrive WebDAV interface
https://winscp.net/tracker/2085

Source commit: b6bcade200b841f76bc956e3655925b110ecdab1
2022-06-08 01:04:57 +02:00
Martin Prikryl
191729720a Bug 2065 – Scripting command "ls" in FTP session displays timestamps without year even if the server (notably IIS) provided the year, if it did not provide seconds
https://winscp.net/tracker/2065

Source commit: 4d719f707f54a5ce7d1ff2ad327a1159ccb3fefe
2022-03-26 01:07:27 +01:00
Martin Prikryl
d2f9693f1c Bug 1641: Support ACL for S3
https://winscp.net/tracker/1641
(cherry picked from commit 9b304c1b32)

# Conflicts:
#	source/forms/CustomScpExplorer.h

Source commit: bf3c1b88326df1dc340f6ca06f93953db7c82c27
2021-11-26 14:59:21 +01:00
Martin Prikryl
f46416fe9f Links updates (tools.ietf.org => datatracker.ietf.org)
Source commit: 8647458b07e32ff872d96e60326ce65a261a6a59
2021-05-24 08:54:32 +02:00
Martin Prikryl
251e4c7e1b Typo in a comment
Source commit: cac29f8908a0b1f2cf240c7188ed8d30fb3a68ca
2021-05-06 16:01:00 +02:00
Martin Prikryl
4dd8ee006c Bug 1824: Workaround for specific encoding of special characters in filenames by OneDrive WebDAV interface
https://winscp.net/tracker/1824
(cherry picked from commit 9a5f22bd87)

Source commit: 52f42c279c9ecc8e9b550d4d359c56eb6dd0b37c
2021-04-22 00:44:12 +02:00
Martin Prikryl
1316cd0247 Bug fix: Timezone is not correctly reflected in S3 timestamps
(cherry picked from commit 5ef25f1784)

Source commit: fbe3c1f49112faa5daf9a81abca6cf033278cf91
2021-03-16 00:45:21 +01:00
Martin Prikryl
719396f835 Bug 1876: Compatibility with WebDAV servers that incorrectly encode file URL
https://winscp.net/tracker/1876
(cherry picked from commit 218f33154a)

Source commit: c58ece07f059e30d9aba96730227d2bbd03201cd
2020-11-26 12:52:17 +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
0854aece22 Naming consistency
(cherry picked from commit a255db644c)

Source commit: cb938dffd346dd4e94a85388f8874f422e2778fd
2020-11-26 11:38:18 +01:00