Tracker »

Bug 24 – "Timeout waiting for external console" message

  • No search results available
: "Timeout waiting for external console" message
: Scripting
: Unspecified
: Unspecified
: Bug
: Medium
: ---
: INVALID
: RESOLVED
: 0
Comment #1
2008-01-04 16:59
I still need other people having the problem to contact me (on the forum threads above)
Comment #2
2008-12-05 16:52
In at least one instance the problems occurred as follows:

WinSCP console interface was started from within another application, which redirects output (possibly also input) of the console to some kind of stream, so it can read it.
Problem is that the application waits for WinSCP console process to terminate before starting reading.
The stream created by the application has buffer of some size. So once WinSCP writes enough output, so the buffer gets filled, WinSCP console interface hangs on the next attempt to write. Consequently WinSCP times out waiting for the console interface to complete the write request and reports an error.
Comment #3
2008-12-09 08:28
The above solution confirmed by at least one user:
https://winscp.net/forum/viewtopic.php?t=6375
Comment #4
2009-05-25 08:57
Guide for using WinSCP from .Net discusses this issue as well:
https://winscp.net/eng/docs/guide_dotnet
Comment #5
2010-08-14 12:50
See also example of WScript.Shell code:
https://winscp.net/eng/docs/guide_automation_advanced#inout
Comment #6
2010-08-14 12:50
Closing (not a bug).
Comment #7
2010-09-16 21:38
  • No search results available