Software Caused Connection Abort - Session Closed Automatic?
I Developed a WINSCP Scripting with JSCRIPT (Check File Exitence and Keeuptodate if Local Folder changes, copy to SFTP Server, I reading a session from WINSCP.ini)
I want the script to be handle if network connection is down, the keepuptodate/transfer session will resume and connect.
I encountered an error IF KEEPUPTODATE DID NOT DETECT ANY CHANGES DURING NETWORK IS DOWN.
I found out the Auto-Reconnect is working if there is changes detect before the Network is down shown in attached.
I want the script to be handle if network connection is down, the keepuptodate/transfer session will resume and connect.
I encountered an error IF KEEPUPTODATE DID NOT DETECT ANY CHANGES DURING NETWORK IS DOWN.
Scanning 'C:\tempdata\' for subdirectories...
Watching for changes in 1 directories...
Host is not communicating for more than 15 seconds. Still waiting...
Note: If the problem repeats, try turning off 'Optimize connection buffer size'.
Warning: Aborting this operation will close connection!
(A)bort (60 s):
Network error: Software caused connection abort
Session 'AutoFTP' closed.
I found out the Auto-Reconnect is working if there is changes detect before the Network is down shown in attached.