Getting an "Assertion Failed" error when using script
WinSCP Version: 4.2.7
Protocol: SFTP
Script Used:
option batch on
option confirm off
option transfer binary
open uname:password@server
put \\path\file.zip
exit
I run the script via:
Winscp.com /script="C:\scriptfile.txt"
When I run the above script, 4 times out of 5 I get the following error:
Assertion failed: xdrPtr && xdrPtr == *xdrLPP, file xx.cpp, line 2233
Once I click OK on that error, I get another message stating "Abnormal program termination"
The file being uploaded is usually about 190 MB in size. The machine on which the script is being called is a virtual machine, with full connectivity. The machine it's connecting to may sometimes drop the connection, but I don't think this is usually the case.