Re: -criteria=checksum fails second authentication
How often do you get the problem with zeroes? Is it easy to reproduce? I assume you get it also for simple downloads? Can you reproduce the problem with other SFTP clients too?
SftpScpFallback=0).
synchronize local -delete -mirror -rawtransfersettings[1] ExcludeHiddenFiles=1 %targetdrive%\ /service/software/SSD
-transfer=binary -resumesupport=off, no joy, eventually I ended up with:
synchronize local -delete -mirror -transfer=binary -resumesupport=off -criteria=checksum -rawtransfersettings[2] ExcludeHiddenFiles=1 SftpScpFallback=0 %targetdrive%\ /service/software/SSD
sync.txt referred by it and the error log.
lcd) before the synchronize, the key.ppk stops being valid.
/log=C:\path\to\winscp.log command-line argument. Submit the log with your post as an attachment. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you can mark the attachment as private.synchronize local -delete -mirror -rawtransfersettings[1] ExcludeHiddenFiles=1 H:\ /service/software/SSD
-criteria=checksum:
synchronize local -delete -mirror -criteria=checksum -rawtransfersettings[1] ExcludeHiddenFiles=1 H:\ /service/software/SSD
< 2026-04-25 14:26:14.752 Authentication log (see session log for details):
< 2026-04-25 14:26:14.752 Unable to use key file "key.ppk" (unable to open file)
< 2026-04-25 14:26:14.752 Using username "key".
< 2026-04-25 14:26:14.752
< 2026-04-25 14:26:14.752 Authentication failed.
. 2026-04-25 14:26:14.752 Script: Failed
-criteria=checksum switch from the command, everything is fine.