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

77 Commits

Author SHA1 Message Date
Martin Prikryl
0cebfe10f7 Interface for matching filenames only against a file mask
Among other to reduce confusing set of Matches overloads. Another benefit is that now all Matches overloads know, if the path is local or remote, what will be useful for upcoming relative/rooted path masks.

Source commit: a6a79218aeceb6dbc22a2ebe804effe277d43115
2021-12-09 01:15:07 +01:00
Martin Prikryl
ec22d33b1d Factoring out IsTransfer
Source commit: e6155366a5349dcbe9e487f53bd7f2710eb43ec8
2021-07-14 00:47:56 +02:00
Martin Prikryl
00daaf7b98 Memory leak
Source commit: fc7c960d0bfc21c067fae53eba3fa7b679fae8fe
2021-04-09 00:48:42 +02:00
Martin Prikryl
f0c86d64d6 Fixing invalid logic from 5ec39a0c
Source commit: b91af2210ef3df96a6a18ff829a3ced925cb4449
2021-03-17 16:42:02 +01:00
Martin Prikryl
5ec39a0c4e Generalizing Bug 1956: Some errors and information while opening a session in scripting were not logged
https://winscp.net/tracker/1956
(cherry picked from commit ae928efc1c)

Source commit: 09ab870b497a7c675c69f8ed514e17e3d5846ad8
2021-03-17 00:52:13 +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
17d5e0d1e5 Bug 1916: Displaying, what directory is being read at the end of login to a server, in a tooltip
https://winscp.net/tracker/1916
(cherry picked from commit 14c15ca661)

Source commit: 992bfc506be5e4b7973aaf6ce1c5c811495cf99b
2020-11-26 16:22:04 +01:00
Martin Prikryl
dbb67622c5 Bug 71: Case-sensitive synchronization
https://winscp.net/tracker/71
(cherry picked from commit b686736604)

Source commit: 0c9278521e52c4af1d18c5de33f426c0fb1fdda0
2020-11-26 14:23: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
1fa88cca2a Not calling FreeFileList for local files list.
(thanks to dynamic_cast in FreeFiles, it was not crashing)

(cherry picked from commit 6e60cf5d66)

Source commit: e587d884892c9226cf22818c22200ef331485af7
2020-11-26 11:53:39 +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
9d02c4f0ce Convenience method Session.RemoveFile
Source commit: c7e3a0866633669f2e08fe6516042f59707843ad
2019-12-07 01:00:41 +01:00
Martin Prikryl
55a3b5b2d6 Factoring out TOptions::Parse
Source commit: 2f534e0c3c46af8c6ef25e6a64ad5066e6432692
2019-10-11 01:02:51 +02:00
Martin Prikryl
f500b385aa Bug 150: Resolve local environment variables in initial session local path
https://winscp.net/tracker/150

Source commit: c1f9f2032c2a82e6d23d27c0bfcca0af5a95b488
2019-09-10 00:44:05 +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
a62f0274e4 Estimating time to finish directory comparison before synchronization based on previous comparisons of the same folders
Source commit: 01df1bed1a6df6d014df2151b6c9c08d3d860eb8
2019-06-27 01:08:36 +02:00
Martin Prikryl
fe24c90abb Convenience methods Session.PutFileToDirectory, Session.PutFilesToDirectory, Session.GetFileToDirectory and Session.GetFilesToDirectory
Source commit: 0f89d088a94eeeaecbc4af11862542df9ea28667
2019-06-13 01:03:53 +02:00
Martin Prikryl
5ca817de64 Bug 1731: Raw transfer settings are incorrectly processed with synchronize command
https://winscp.net/tracker/1731

Source commit: eca8afcfe8687c55c8ac7fc1e23cefe32903de8d
2019-03-30 01:33:33 +01:00
Martin Prikryl
cbebdb4ac2 Bug 1707: Optionally fail synchronization in scripting when there are no changes
https://winscp.net/tracker/1707

Source commit: 1942fab95bf18d13fd50dcc18661da5ac2ff19ff
2018-11-24 02:53:53 +01:00
Martin Prikryl
0661aaa75c Bug 1371 – Synchronization preview in .NET assembly
https://winscp.net/tracker/1371

Source commit: bce225db0a4ed8170296e09aaf659056196e90c2
2018-11-14 02:49:51 +01:00
Martin Prikryl
a16fea2f60 Typo in macro name
Source commit: c8b0f63924a2a904c3d9b5a02aef64f66f361970
2018-11-08 03:53:33 +01:00
Martin Prikryl
0d1b5aa245 Bug 1689: Configurable file name column width in script progress
https://winscp.net/tracker/1689

Source commit: a0fa156838301ba4feb5205d02d1d3db17a2fbfa
2018-10-13 02:55:33 +02: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
7b2f2ec2e1 Bug 1680: Synchronization summary
https://winscp.net/tracker/1680

Source commit: 5b294fd256dc9db49bae41a881d5b0c91582e16f
2018-09-21 02:32:18 +02:00
Martin Prikryl
93fc1a2807 Bug 1677: Do not fail transfer if file selected for transfer, but excluded by file mask, is deleted during operation
https://winscp.net/tracker/1677

Source commit: 88d21caaae8bbd140229a313bd8aadb159706750
2018-09-18 00:59:23 +02:00
Martin Prikryl
ddbb9d23e8 Showing overall synchronization progress on progress window and taskbar (by operations count for now only)
Source commit: ed687a18cea4487d37d881e4d669097b171f2700
2018-08-10 02:23:31 +02:00
Martin Prikryl
19f9225b37 Calculating sizes of all synchronization transfers at the very beginning and showing the sizes on checklist + Not calculating size of transfers again, if they were calculated already on the checklist
Source commit: 08ed8201139d023e0a1e0794a7c4a426d9d4ad6c
2018-08-09 01:28:02 +02:00
Martin Prikryl
8dc6b45ca8 Refactoring TTerminal::SynchronizeApply
Source commit: cca8f52763cc91cc9fe3cae2b887f01bdf04fddd
2018-08-08 01:25:56 +02:00
Martin Prikryl
dae229725f Factoring out TSearchRecSmart and TTerminal::DoAllowLocalFileTransfer + Using TSearchRec.Size instead of FindData.nFileSize*
Source commit: da32ece57151b0bd5547c383b919770bd133b8b1
2018-07-25 02:24:43 +02:00
Martin Prikryl
41f9c0137f Factoring out IsRealFile function
Source commit: 046570706e02ac13da6ecbde4c6d270637c9af56
2018-07-25 02:03:14 +02:00
Martin Prikryl
2ab220f319 Refactoring file iteration
Source commit: e7c3822390daa5727d75fc5b36c82c8c1243bfea
2018-07-24 03:26:45 +02:00
Martin Prikryl
0de5a41246 Synchronization runs on top of Synchronization checklist window for easier overview of the process
Source commit: abd7f530d22980fd0b5bdca40e3bfa1ad30c1450
2018-06-29 02:55:12 +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
acfbf75801 Bug fix: Scripting command ln does silently nothing when the server does not support creating symlinks, instead of reporting that.
Source commit: 3364b2e112c9b8811f73f659262ff1fbe1270c92
2018-05-23 01:20:20 +02:00
Martin Prikryl
7a3c5eac79 Bug 1578: Mask out passwords in raw settings (proxy and tunnel) when logging command-line (2nd try for logging suggested "open" command) + Do not munge * in password (or in general in URL)
https://winscp.net/tracker/1578

Source commit: 659e267edb785ef4c69e07d3e76d23048709da9a
2018-01-28 16:15:22 +01:00
Martin Prikryl
7e8d9b08da Bug 1578: Mask out passwords in raw settings (proxy and tunnel) when logging command-line
https://winscp.net/tracker/1578

Source commit: c3fbb031aa0ebf890cb5d97454ff20c87652cb78
2018-01-28 16:00:23 +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
32d26ba76e Remote file duplication in scripting, .NET assembly and XML log + Scripting command mv and .NET assembly function Session.MoveFile report when the server does not support file renaming/moving.
Source commit: 974f6dff9af8f3bb1e39a7b2ef453af0c7b2d0ec
2018-01-28 15:21:03 +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
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
a94eb88af6 Bug 1531: Use full path in FileTransferProgressEventArgs.FileName + FileTransferProgress unit tests
https://winscp.net/tracker/1531

Source commit: 8a7e12900392b03fbe388bcdd3cfa7a3b850991f
2018-01-28 06:47:15 +01:00
Martin Prikryl
3c9a9861c2 Bug fix: Scripting open command without arguments issued irrelevant warning about use of stored site
Source commit: be61be50fc117647338c3c48a1f98773f686180a
2018-01-28 06:07:06 +01:00
Martin Prikryl
1ae0b998a7 Bug fix: Never implemented -continueonerror switch was present in keepuptodate help
Source commit: a9432ca95c521e042c2c3ac8a8d6f1e72e499779
2018-01-28 04:07:46 +01:00
Martin Prikryl
19890b476f Bug 875: Parallel background downloads
https://winscp.net/tracker/875

Source commit: 86d27203e082bbd4b4d5edb566d48d2697be2db4
2018-01-28 01:07:39 +01:00
Martin Prikryl
f8018d0f98 Parallel background uploads
Source commit: 1015897f6614be286e8d8fbb2e059fc831350fcf
2018-01-28 00:43:17 +01:00
Martin Prikryl
f9dd330fcd Typo in identifier name
Source commit: 5475cc676e9ba774bce3a0ce2db540b228e88c20
2018-01-28 00:14:21 +01:00
Martin Prikryl
ea01897e79 No public writable fields in TFileOperationProgressType (in anticipation of shared progress for parallel transfers)
Source commit: c2adf6522c5c585d2e8df47285aa23c30da0fab8
2018-01-28 00:02:28 +01:00
Martin Prikryl
6403692f8c Change: When executing script file or script commands provided on command-line, default reconnect time is set to 120 seconds, if not limited yet by configuration
Source commit: 403e3e11ac7951f1b3e9fbd5d9641ffe270a92c6
2018-01-27 23:14:15 +01:00
Martin Prikryl
0ccd2defd3 SSH password change + When opening secondary shell session fails, the main session is not Closed + Session.ExecuteCommand unit tests
ChangePassword + PasswordChangesFailed counters
task_change_password help keyword

Source commit: 335f4de0796d0367a8ed427790cf1407607cc0d8
2018-01-27 22:50:24 +01:00