[quote="JD"]
martin wrote:
Just ignore the error codes in the log. They mean nothing to you. If you are getting exit code 1, please post the output of the script.
Here is the log file from one of the scheduled task
. 2008-04-03 11:30:01.439 --------------------------------------------------------------------------
. 2008-04-03 11:30:01.439 WinSCP Version 4.0.5 (Build 354) (OS 5.2.3790 Service Pack 2)
. 2008-04-03 11:30:01.439 Login time: Thursday, April 03, 2008 11:30:01 AM
. 2008-04-03 11:30:01.439 --------------------------------------------------------------------------
. 2008-04-03 11:30:01.439 Session name: removed@removed.com
. 2008-04-03 11:30:01.439 Host name: removed.com (Port: 22)
. 2008-04-03 11:30:01.439 User name: removed (Password: Yes, Key file: No)
. 2008-04-03 11:30:01.439 Tunnel: No
. 2008-04-03 11:30:01.439 Transfer Protocol: SFTP (SCP)
. 2008-04-03 11:30:01.439 Ping type: -, Ping interval: 30 sec; Timeout: 15 sec
. 2008-04-03 11:30:01.439 Proxy: none
. 2008-04-03 11:30:01.439 SSH protocol version: 2; Compression: No
. 2008-04-03 11:30:01.439 Agent forwarding: No; TIS/CryptoCard: No; KI: Yes; GSSAPI: No
. 2008-04-03 11:30:01.439 Ciphers: aes,blowfish,3des,WARN,des; Ssh2DES: No
. 2008-04-03 11:30:01.439 SSH Bugs: -,-,-,-,-,-,-,-
. 2008-04-03 11:30:01.439 SFTP Bugs: -,-,-
. 2008-04-03 11:30:01.439 Return code variable: Autodetect; Lookup user groups: Yes
. 2008-04-03 11:30:01.439 Shell: default, EOL: 0
. 2008-04-03 11:30:01.439 Clear aliases: Yes, Unset nat.vars: Yes, Resolve symlinks: Yes
. 2008-04-03 11:30:01.439 Alias LS: No, Ign LS warn: Yes, Scp1 Comp: No
. 2008-04-03 11:30:01.439 Local directory: default, Remote directory: home, Update: No, Cache: Yes
. 2008-04-03 11:30:01.439 Cache directory changes: Yes, Permanent: Yes
. 2008-04-03 11:30:01.439 DST mode: 1
. 2008-04-03 11:30:01.439 --------------------------------------------------------------------------
. 2008-04-03 11:30:01.454 Looking up host "removed.com"
. 2008-04-03 11:30:01.486 Connecting to removed port 22
. 2008-04-03 11:30:01.517 Selecting events 63 for socket 472
. 2008-04-03 11:30:01.517 Waiting for the server to continue with the initialisation
. 2008-04-03 11:30:01.517 Looking for incoming data
. 2008-04-03 11:30:01.517 Looking for network events
. 2008-04-03 11:30:01.517 Detected network event
. 2008-04-03 11:30:01.517 Enumerating network events for socket 472
. 2008-04-03 11:30:01.517 Enumerated 18 network events for socket 472
. 2008-04-03 11:30:01.517 Detected network write event on socket 472 with error 0
. 2008-04-03 11:30:01.517 Detected network connect event on socket 472 with error 0
. 2008-04-03 11:30:01.517 Looking for network events
. 2008-04-03 11:30:16.517 Timeout waiting for network events
. 2008-04-03 11:30:16.517 Waiting for data timed out, asking user what to do.
. 2008-04-03 11:30:16.517 Asking user:
. 2008-04-03 11:30:16.517 Host has not answered for 15 seconds.
. 2008-04-03 11:30:16.517
. 2008-04-03 11:30:16.517 Wait for another 15 seconds? ()
. 2008-04-03 11:30:16.517 Attempt to close connection due to fatal exception:
* 2008-04-03 11:30:16.517 Terminated by user.
. 2008-04-03 11:30:16.517 Closing connection.
. 2008-04-03 11:30:16.517 Selecting events 0 for socket 472
Thanks
JD