Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

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

martin

Re: Winscp 4.2.1. Waiting for data timed out, asking user what to do,Host is not communicating for 15sec

You urgently need to upgrade as well.
mohit1

Winscp 4.2.1. Waiting for data timed out, asking user what to do,Host is not communicating for 15sec

I got the solution.. added timeout in Ini file.
mohit

Winscp 4.2.1. Waiting for data timed out, asking user what to do,Host is not communicating for 15sec

We are getting timeout error in one legacy system,here is application logic. We see an error "Waiting for data timed out, asking user what to do, Asking user Host is not communicating for 15 seconds." at step#3.

Please provide solution for this specific version of winscp.

1. Create a new session through command script and download files from FTP server to local, after that close the FTP connection.

"C:\WinSCP\winscp.com" /timeout=30 /script=\"C:\test\FTPScript.txt\" /ini=\"C:\test\FTPSettings.ini\" /log=\"C:\test\ftplog.txt\" > abclog.txt

2. Add entry in DB.

3. Create a new session through command script and delete the files from FTP server which has been processed in above steps.

"C:\WinSCP\winscp.com" /timeout=30 /script=\"C:\test\FTPDelScript.txt\" /ini=\"C:\test\FTPSettings.ini\" /log=\"C:\test\ftplog.txt\" > abclog.txt




. 2019-10-29 23:12:13.413 Looking up host "ftp000.ABC.com"
. 2019-10-29 23:12:13.413 Connecting to <IP addess> port 22
. 2019-10-29 23:12:28.414 Waiting for data timed out, asking user what to do.
. 2019-10-29 23:12:28.414 Asking user:
. 2019-10-29 23:12:28.414 Host is not communicating for 15 seconds.
. 2019-10-29 23:12:28.414
. 2019-10-29 23:12:28.414 Wait for another 15 seconds? ()
. 2019-10-29 23:12:28.414 Attempt to close connection due to fatal exception:
* 2019-10-29 23:12:28.414 Terminated by user.
. 2019-10-29 23:12:28.414 Closing connection.
. 2019-10-29 23:12:28.414 Sending special code: 12