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

Advertisement

mohit
Joined:
Posts:
1
Location:
USA

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

Reply with quote

Advertisement

mohit1
Guest

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.

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
31,935
Location:
Prague, Czechia

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.

Reply with quote

Advertisement

You can post new topics in this forum