Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

ngmunfye

In WINSCP GUI Mode, when Used Keep Remote Directory up to date to monitor Local Folder for file changes and If changes will copy to SFTP Server Path. When Network Is Down during Monitor. It will prompt the Error Message Box "Network Error: No Route to host" and It will keep tried for Reconnect for every 5 seconds until network is up. . This is very good Product/Features.

I'm Looking for Auto-Reconnect features that can used in Scripting/Automation method.

Is there any workaround?
martin

Re: Software Caused Connection Abort - Session Closed Automatic?

Sorry, this is not possible atm.
But you can loop your script to resume.
ngmunfye

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.

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.