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

17 Commits

Author SHA1 Message Date
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
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
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
0a08412ec1 Bug 1653: Files can be optionally encrypted when storing them on SFTP server
https://winscp.net/tracker/1653

Source commit: 31d8bb5e3aebe725081c5ad74aa1e10b4f739356
2018-06-14 01:26:55 +02:00
Martin Prikryl
0eacaaaa9a Compiler warning introduced by 64f634db37
Source commit: d3942c59092efaa9e00403834846443c4bf8382a
2018-05-11 14:34:26 +02:00
Martin Prikryl
64f634db37 Bug 386: Automatic upload of keys pairs + Public key can be displayed in Advanced Site Settings dialog
https://winscp.net/tracker/386

Source commit: 78d8baba92c09728ef3bccc9b49f1590a76d4ca5
2018-05-11 06:20:37 +02:00
Martin Prikryl
642499f217 Factoring out common download code + Change: Last access time of downloaded files is no longer preserved
Source commit: f0d582dad37a7c48e72f4b805124f93dc0ccc050
2018-01-28 17:25:23 +01:00
Martin Prikryl
5cba2a567e Factoring out common upload code
Source commit: a5f5533a8f027759210736e5faecdd47328b28cf
2018-01-28 15:45:20 +01:00
Martin Prikryl
df8226b6df Bug 572: Amazon S3 protocol (renaming/moving)
https://winscp.net/tracker/572

- Change: Scripting command "mv" now checks for source file existence (to determine if it is a folder or file), so error message changes

Source commit: 747e51794ef409f3878a890c8a3729ba6d97cdff
2018-01-28 15:32:40 +01:00
Martin Prikryl
60aa9c8da5 Bug 572: Amazon S3 protocol (duplicating)
https://winscp.net/tracker/572

- cp script command now queries the server for source file/dir, as we need the information for S3_deinitialize
- DUPLICATE_FOLDER_NOT_SUPPORTED was by mistake already committed in 32d26ba76e (Remote file duplication in scripting, .NET assembly and XML log)

Source commit: b0e54d4ef136c6d798ef8010648ba759d02229e4
2018-01-28 15:30:33 +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
d8f92984b9 First public commit of dev branch
Source commit: 98cb9d870efc1c60826db4398ec35c5cbe809e6a
2018-01-24 14:13:46 +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
4dad4a32f0 5.2.5 2018-01-11 15:31:49 +01:00
Martin Prikryl
2e4b4738f0 5.2 2018-01-11 15:30:21 +01:00