- Mar 1, 2000
- 30,856
- 4,974
- 126
On a Win2008 server, I have some FTP scripts that automatically run via Windows Scheduler. They use WinSCP as the FTP client. The server locks the desktop after 15mins of inactivity. When the desktop is locked, and the scripts attempt to run, they can not connect to the remote FTP server:
. 2014-01-17 10:30:59.742 Looking up host "XXX.YYY"
. 2014-01-17 10:31:00.116 Connecting to XXX.XXX.XXX.XXX port 22
. 2014-01-17 10:31:21.317 Failed to connect to XXX.XXX.XXX.XXX: Network error: Connection timed out
It seems to resolve DNS, but just won't connect, and I can not figure out why. If I am logged into the desktop, and the script runs, it connects and does it's job flawlessly -- I just need it to do it when the desktop is locked out.
Anyone have any thoughts?
Thanks in advance!
. 2014-01-17 10:30:59.742 Looking up host "XXX.YYY"
. 2014-01-17 10:31:00.116 Connecting to XXX.XXX.XXX.XXX port 22
. 2014-01-17 10:31:21.317 Failed to connect to XXX.XXX.XXX.XXX: Network error: Connection timed out
It seems to resolve DNS, but just won't connect, and I can not figure out why. If I am logged into the desktop, and the script runs, it connects and does it's job flawlessly -- I just need it to do it when the desktop is locked out.
Anyone have any thoughts?
Thanks in advance!