Sorry, I do not know what the problem might be.
- martin
Before posting, please read how to report bug or request support effectively.
Bug reports without an attached log file are usually useless.
@echo off
"C:\Program Files (x86)\WinSCP\WinSCP.com" ^
/log="C:\Users\XXXX\Desktop\DD-WinSCP.log" /ini=nul ^
/command ^
"open scp://root@XXXX:XXXX/ -hostkey=""ssh-rsa 3072 XXXX"" -privatekey=""F:\ppk\XXXXrsa.ppk"" -rawsettings PingType=1 AuthGSSAPIKEX=1 Cipher=""aes,chacha20,aesgcm,blowfish,3des,WARN,arcfour,des"" KEX=""rsa,ntru-curve25519,ecdh,dh-gex-sha1,dh-group16-sha512,dh-group17-sha512,dh-group18-sha512,dh-group15-sha512,dh-group14-sha1,WARN,dh-group1-sha1"" HostKey=""rsa,ed448,ed25519,ecdsa,dsa,WARN"" AddressFamily=1 RekeyBytes=0 RekeyTime=0 SendBuf=0 SshSimple=0" ^
"cd /home/XXXX" ^
"lcd ""C:\Users\XXXX\Desktop\""" ^
"get -delete *.tar.gz" ^
"exit"
set WINSCP_RESULT=%ERRORLEVEL%
if %WINSCP_RESULT% equ 0 (
echo Success
) else (
echo Error
)
exit /b %WINSCP_RESULT%
@echo off
"C:\Program Files (x86)\WinSCP\WinSCP.com" ^
/log="C:\Users\XXXX\Desktop\WinSCP.log" /ini=nul ^
/command ^
"open scp://root@XXXX:XXXX/ -hostkey=""ssh-ed25519 255 XXXX"" -privatekey=""F:\ppk\XXXX.ppk"" -rawsettings PingType=1 SendBuf=0 SshSimple=0 TunnelPortNumber=1" ^
"cd /home/BackupSite" ^
"lcd ""C:\Users\XXXX\Desktop""" ^
"get -delete *_XXXX.tar.gz" ^
"exit"
set WINSCP_RESULT=%ERRORLEVEL%
if %WINSCP_RESULT% equ 0 (
echo Success
) else (
echo Error
)
exit /b %WINSCP_RESULT%
Incorrect MAC received on packet