Regarding the sequence violation when using scripts in winsc
When connecting to the SFTP server in winscp, (Using scripts) because the SFTP server will output an error and then terminate. :cry:
According to the vendor who provided the SFTP server, when scripts of winscp are used,
errors will occur in the SFTP server because the data transmission in the winscp will violate the sequence.
After winscp sent the files using the ‘get’ command, the ‘close’ request was submitted.
Without waiting for the reply from the server, the transport channel terminated.
Due to that reason, errors occurred in the server because the client did not receive a normal termination of the file closing.
Is this a bug of winscp in which the close request was submitted and the reply was not received . Is there a way to avoid this problem?
The following are the scripts and commands.
"C:\Program Files\WinSCP\WinSCP.com" /script=d:\sftp_test\test.scp /log=d:\sftp_test\test.log
test.scp ‘s details
open XXXXX@XXXXXX
get XXXXXX.txt
close
exit
According to the vendor who provided the SFTP server, when scripts of winscp are used,
errors will occur in the SFTP server because the data transmission in the winscp will violate the sequence.
After winscp sent the files using the ‘get’ command, the ‘close’ request was submitted.
Without waiting for the reply from the server, the transport channel terminated.
Due to that reason, errors occurred in the server because the client did not receive a normal termination of the file closing.
Is this a bug of winscp in which the close request was submitted and the reply was not received . Is there a way to avoid this problem?
The following are the scripts and commands.
"C:\Program Files\WinSCP\WinSCP.com" /script=d:\sftp_test\test.scp /log=d:\sftp_test\test.log
test.scp ‘s details
open XXXXX@XXXXXX
get XXXXXX.txt
close
exit