WinSCP version 5.9.4 on Windows Server 2012 R2 Hyper-V virtual machine
Transfer protocol: SFTP
We do a scripted transfer of 2 files daily, 4 and 5 GB per file. It works 1 or 2 times per week, the other transfers fail.
The script:
open sftp://{user}:{password}@{servername}/ -hostkey="ssh-rsa 2048 {hostkey}" -rawsettings SendBuf=0
put -resumesupport=on C:\Backups\{file1} /backup/
put -resumesupport=on C:\Backups\{file2} /backup/
exit
The error:
Searching for host...
Connecting to host...
Authenticating...
Using username "{user}".
Authenticating with pre-entered password.
Authenticated.
Starting the session...
Session started.
Active session: [1] {user}@{servername}
C:\Backups\{file1} | 3926170 KB | 52818.3 KB/s | binary | 76%
expected key exchange reply packet from server
(A)bort, (R)econnect (5 s): Reconnect
Searching for host...
Connecting to host...
Authenticating...
Using username "{user}".
Authenticating with pre-entered password.
Authenticated.
Starting the session...
Session started.
C:\Backups\{file1} | 3987711 KB | 53391.3 KB/s | binary | 77%
C:\Backups\{file1} | 4137138 KB | 39099.2 KB/s | binary | 80%
expected key exchange reply packet from server
(A)bort, (R)econnect (5 s): Reconnect
Searching for host...
Connecting to host...
Authenticating...
Using username "{user}".
Authenticating with pre-entered password.
Authenticated.
Starting the session...
Session started.
C:\Backups\{file1} | 4160955 KB | 39989.7 KB/s | binary | 80%
Copying files to remote side failed.
Invalid pointer operation
Please help us improving WinSCP by reporting the error on WinSCP support forum.
Stack trace:
(003E36F4)
(003E36F4)
(00866B09)
(008688B7)
(0075B7EC)
(0075A90A)
(00787619)
(006EEB85)
(006E9803)
(006EAB76)
(00053F97)
(0005A43A)
(000D640A)
(000024A8)
(00864B95)
(00059B8D) ntdll.dll
(00059B55) ntdll.dll