Sending special code: 12 even though the script went ok

Advertisement

PeterF
Joined:
Posts:
2

Sending special code: 12 even though the script went ok

Hi. Im new to winscp. I run a batch and get the "Sending special code: 12". I cant se where the error occurs. I have put in the -nopreservetime -nopermissions options. Exept for this options i think my script i standard.
bat
@eccho off
winscp.exe /log=E:\tools\winscp555\WinSCP\log.txt /script=E:\tools\winscp555\WinSCP\script.txt

script
# Automatically abort script on errors
option batch abort
# Disable overwrite confirmations that conflict with the previous
option confirm off
# Connect
open sftp://myuser:mypassword@remoteip:22 -hostkey="ssh-rsa 1024 xx:xx:xx:..."
# Change remote directory
cd /test
# Upload the file to current working directory
put -nopreservetime -nopermissions E:\tools\winscp555\WinSCP\file.txt
# Disconnect
close
# Exit WinSCP
exit

log: I have changed sensitive information
. 2014-11-17 21:41:24.119 --------------------------------------------------------------------------
. 2014-11-17 21:41:24.119 WinSCP Version 5.5.5 (Build 4605) (OS 5.2.3790 Service Pack 2 - Microsoft Windows Server 2003)
. 2014-11-17 21:41:24.119 Configuration: HKEY_CURRENT_USER\Software\Martin Prikryl\WinSCP 2\
. 2014-11-17 21:41:24.119 Local account: domain\user
. 2014-11-17 21:41:24.119 Working directory: E:\tools\winscp555\WinSCP
. 2014-11-17 21:41:24.119 Process ID: 5876
. 2014-11-17 21:41:24.119 Command-line: "E:\tools\winscp555\WinSCP\WinSCP.exe" /console=555 /consoleinstance=_6056_335 "/log=E:\tools\winscp555\WinSCP\log.txt" "/script=E:\tools\winscp555\WinSCP\script.txt" 
. 2014-11-17 21:41:24.119 Time zone: Current: GMT+1, Standard: GMT+1 (W. Europe Standard Time), DST: GMT+2 (W. Europe Daylight Time), DST Start: 2014-03-30, DST End: 2014-10-26
. 2014-11-17 21:41:24.119 Login time: den 17 november 2014 21:41:24
. 2014-11-17 21:41:24.119 --------------------------------------------------------------------------
. 2014-11-17 21:41:24.119 Script: Retrospectively logging previous script records:
> 2014-11-17 21:41:24.119 Script: option batch abort
< 2014-11-17 21:41:24.119 Script: batch           abort     
> 2014-11-17 21:41:24.119 Script: option confirm off
< 2014-11-17 21:41:24.119 Script: confirm         off       
> 2014-11-17 21:41:24.119 Script: open sftp://myuser:mypassword@remoteip:22 -hostkey="ssh-rsa 1024 remotcode xx:xx:xx: ..."
. 2014-11-17 21:41:24.119 --------------------------------------------------------------------------
. 2014-11-17 21:41:24.119 Session name: myuser@remoteip (Modified site)
. 2014-11-17 21:41:24.119 Host name: remoteip (Port: 22)
. 2014-11-17 21:41:24.119 User name: myuser (Password: Yes, Key file: No)
. 2014-11-17 21:41:24.119 Tunnel: No
. 2014-11-17 21:41:24.119 Transfer Protocol: SFTP
. 2014-11-17 21:41:24.119 Ping type: -, Ping interval: 30 sec; Timeout: 15 sec
. 2014-11-17 21:41:24.119 Proxy: none
. 2014-11-17 21:41:24.119 Send buffer: 262144
. 2014-11-17 21:41:24.119 SSH protocol version: 2; Compression: No
. 2014-11-17 21:41:24.119 Bypass authentication: No
. 2014-11-17 21:41:24.119 Try agent: Yes; Agent forwarding: No; TIS/CryptoCard: No; KI: Yes; GSSAPI: No
. 2014-11-17 21:41:24.119 Ciphers: aes,blowfish,3des,WARN,arcfour,des; Ssh2DES: No
. 2014-11-17 21:41:24.119 SSH Bugs: A,A,A,A,A,A,A,A,A,A
. 2014-11-17 21:41:24.119 Simple channel: Yes
. 2014-11-17 21:41:24.119 Return code variable: Autodetect; Lookup user groups: A
. 2014-11-17 21:41:24.119 Shell: default
. 2014-11-17 21:41:24.119 EOL: 0, UTF: 2
. 2014-11-17 21:41:24.119 Clear aliases: Yes, Unset nat.vars: Yes, Resolve symlinks: Yes
. 2014-11-17 21:41:24.119 LS: ls -la, Ign LS warn: Yes, Scp1 Comp: No
. 2014-11-17 21:41:24.119 Local directory: default, Remote directory: home, Update: Yes, Cache: Yes
. 2014-11-17 21:41:24.119 Cache directory changes: Yes, Permanent: Yes
. 2014-11-17 21:41:24.119 DST mode: 1; Timezone offset: 0h 0m
. 2014-11-17 21:41:24.119 --------------------------------------------------------------------------
. 2014-11-17 21:41:24.119 Looking up host "remoteip"
. 2014-11-17 21:41:24.119 Connecting to remoteip port 22
. 2014-11-17 21:41:24.135 Selecting events 63 for socket 440
. 2014-11-17 21:41:24.135 Waiting for the server to continue with the initialization
. 2014-11-17 21:41:24.135 Looking for incoming data
. 2014-11-17 21:41:24.135 Looking for network events
. 2014-11-17 21:41:24.135 Detected network event
. 2014-11-17 21:41:24.135 Enumerating network events for socket 440
. 2014-11-17 21:41:24.135 Enumerated 18 network events making 18 cumulative events for socket 440
. 2014-11-17 21:41:24.135 Handling network write event on socket 440 with error 0
. 2014-11-17 21:41:24.135 Handling network connect event on socket 440 with error 0
. 2014-11-17 21:41:24.135 Looking for network events
. 2014-11-17 21:41:24.150 Detected network event
. 2014-11-17 21:41:24.150 Enumerating network events for socket 440
. 2014-11-17 21:41:24.150 Enumerated 1 network events making 1 cumulative events for socket 440
. 2014-11-17 21:41:24.150 Handling network read event on socket 440 with error 0
. 2014-11-17 21:41:24.150 Server version: SSH-2.0-SFTP Server
. 2014-11-17 21:41:24.150 Using SSH protocol version 2
. 2014-11-17 21:41:24.150 We claim version: SSH-2.0-WinSCP_release_5.5.5
. 2014-11-17 21:41:24.150 Waiting for the server to continue with the initialization
. 2014-11-17 21:41:24.150 Looking for incoming data
. 2014-11-17 21:41:24.150 Looking for network events
. 2014-11-17 21:41:24.166 Detected network event
. 2014-11-17 21:41:24.166 Enumerating network events for socket 440
. 2014-11-17 21:41:24.166 Enumerated 1 network events making 1 cumulative events for socket 440
. 2014-11-17 21:41:24.166 Handling network read event on socket 440 with error 0
. 2014-11-17 21:41:24.166 Doing Diffie-Hellman group exchange
. 2014-11-17 21:41:24.166 Waiting for the server to continue with the initialization
. 2014-11-17 21:41:24.166 Looking for incoming data
. 2014-11-17 21:41:24.166 Looking for network events
. 2014-11-17 21:41:24.197 Detected network event
. 2014-11-17 21:41:24.197 Enumerating network events for socket 440
. 2014-11-17 21:41:24.197 Enumerated 1 network events making 1 cumulative events for socket 440
. 2014-11-17 21:41:24.197 Handling network read event on socket 440 with error 0
. 2014-11-17 21:41:24.197 Doing Diffie-Hellman key exchange with hash SHA-1
. 2014-11-17 21:41:24.213 Waiting for the server to continue with the initialization
. 2014-11-17 21:41:24.213 Looking for incoming data
. 2014-11-17 21:41:24.213 Looking for network events
. 2014-11-17 21:41:24.229 Detected network event
. 2014-11-17 21:41:24.229 Enumerating network events for socket 440
. 2014-11-17 21:41:24.229 Enumerated 1 network events making 1 cumulative events for socket 440
. 2014-11-17 21:41:24.229 Handling network read event on socket 440 with error 0
. 2014-11-17 21:41:24.260 Verifying host key rsa2 xxxxxxx, ...  with fingerprint ssh-rsa 1024 xx:xx:xx: ...
. 2014-11-17 21:41:24.260 Host key matches cached key
. 2014-11-17 21:41:24.260 Selecting events 63 for socket 440
. 2014-11-17 21:41:24.260 Host key fingerprint is:
. 2014-11-17 21:41:24.260 ssh-rsa 1024 x:xx:xx: ...
. 2014-11-17 21:41:24.260 Initialised AES-256 SDCTR client->server encryption
. 2014-11-17 21:41:24.260 Initialised HMAC-SHA1 client->server MAC algorithm
. 2014-11-17 21:41:24.260 Initialised AES-256 SDCTR server->client encryption
. 2014-11-17 21:41:24.260 Initialised HMAC-SHA1 server->client MAC algorithm
. 2014-11-17 21:41:24.260 Waiting for the server to continue with the initialization
. 2014-11-17 21:41:24.260 Looking for incoming data
. 2014-11-17 21:41:24.260 Looking for network events
. 2014-11-17 21:41:24.275 Detected network event
. 2014-11-17 21:41:24.275 Enumerating network events for socket 440
. 2014-11-17 21:41:24.275 Enumerated 1 network events making 1 cumulative events for socket 440
. 2014-11-17 21:41:24.275 Handling network read event on socket 440 with error 0
! 2014-11-17 21:41:24.275 Using username "myuser".
. 2014-11-17 21:41:24.275 Waiting for the server to continue with the initialization
. 2014-11-17 21:41:24.275 Looking for incoming data
. 2014-11-17 21:41:24.275 Looking for network events
. 2014-11-17 21:41:24.275 Detected network event
. 2014-11-17 21:41:24.275 Enumerating network events for socket 440
. 2014-11-17 21:41:24.275 Enumerated 1 network events making 1 cumulative events for socket 440
. 2014-11-17 21:41:24.275 Handling network read event on socket 440 with error 0
. 2014-11-17 21:41:24.275 Waiting for the server to continue with the initialization
. 2014-11-17 21:41:24.275 Looking for incoming data
. 2014-11-17 21:41:24.275 Looking for network events
. 2014-11-17 21:41:24.322 Detected network event
. 2014-11-17 21:41:24.322 Enumerating network events for socket 440
. 2014-11-17 21:41:24.322 Enumerated 1 network events making 1 cumulative events for socket 440
. 2014-11-17 21:41:24.322 Handling network read event on socket 440 with error 0
. 2014-11-17 21:41:24.322 Attempting keyboard-interactive authentication
. 2014-11-17 21:41:24.322 Waiting for the server to continue with the initialization
. 2014-11-17 21:41:24.322 Looking for incoming data
. 2014-11-17 21:41:24.322 Looking for network events
. 2014-11-17 21:41:24.338 Detected network event
. 2014-11-17 21:41:24.338 Enumerating network events for socket 440
. 2014-11-17 21:41:24.338 Enumerated 1 network events making 1 cumulative events for socket 440
. 2014-11-17 21:41:24.338 Handling network read event on socket 440 with error 0
. 2014-11-17 21:41:24.338 Prompt (6, SSH server: password, Using keyboard-interactive authentication.
. 2014-11-17 21:41:24.338 Enter password for myuser, Password:)
. 2014-11-17 21:41:24.338 Using stored password.
. 2014-11-17 21:41:24.338 Waiting for the server to continue with the initialization
. 2014-11-17 21:41:24.338 Looking for incoming data
. 2014-11-17 21:41:24.338 Looking for network events
. 2014-11-17 21:41:24.385 Detected network event
. 2014-11-17 21:41:24.385 Enumerating network events for socket 440
. 2014-11-17 21:41:24.385 Enumerated 1 network events making 1 cumulative events for socket 440
. 2014-11-17 21:41:24.385 Handling network read event on socket 440 with error 0
. 2014-11-17 21:41:24.385 Access granted
. 2014-11-17 21:41:24.385 Opening session as main channel
. 2014-11-17 21:41:24.385 Waiting for the server to continue with the initialization
. 2014-11-17 21:41:24.385 Looking for incoming data
. 2014-11-17 21:41:24.385 Looking for network events
. 2014-11-17 21:41:24.400 Detected network event
. 2014-11-17 21:41:24.400 Enumerating network events for socket 440
. 2014-11-17 21:41:24.400 Enumerated 1 network events making 1 cumulative events for socket 440
. 2014-11-17 21:41:24.400 Handling network read event on socket 440 with error 0
. 2014-11-17 21:41:24.400 Opened main channel
. 2014-11-17 21:41:24.400 Waiting for the server to continue with the initialization
. 2014-11-17 21:41:24.400 Looking for incoming data
. 2014-11-17 21:41:24.400 Looking for network events
. 2014-11-17 21:41:24.432 Detected network event
. 2014-11-17 21:41:24.432 Enumerating network events for socket 440
. 2014-11-17 21:41:24.432 Enumerated 1 network events making 1 cumulative events for socket 440
. 2014-11-17 21:41:24.432 Handling network read event on socket 440 with error 0
. 2014-11-17 21:41:24.432 Waiting for the server to continue with the initialization
. 2014-11-17 21:41:24.432 Looking for incoming data
. 2014-11-17 21:41:24.432 Looking for network events
. 2014-11-17 21:41:24.432 Detected network event
. 2014-11-17 21:41:24.432 Enumerating network events for socket 440
. 2014-11-17 21:41:24.432 Enumerated 1 network events making 1 cumulative events for socket 440
. 2014-11-17 21:41:24.432 Handling network read event on socket 440 with error 0
. 2014-11-17 21:41:24.432 Started a shell/command
. 2014-11-17 21:41:24.432 --------------------------------------------------------------------------
. 2014-11-17 21:41:24.432 Using SFTP protocol.
. 2014-11-17 21:41:24.432 Doing startup conversation with host.
> 2014-11-17 21:41:24.432 Type: SSH_FXP_INIT, Size: 5, Number: -1
> 2014-11-17 21:41:24.432 01,00,00,00,05,
. 2014-11-17 21:41:24.432 Sent 9 bytes
. 2014-11-17 21:41:24.432 There are 0 bytes remaining in the send buffer
. 2014-11-17 21:41:24.432 Looking for network events
. 2014-11-17 21:41:24.432 Timeout waiting for network events
. 2014-11-17 21:41:24.432 Waiting for another 4 bytes
. 2014-11-17 21:41:24.432 Looking for incoming data
. 2014-11-17 21:41:24.432 Looking for network events
. 2014-11-17 21:41:24.447 Detected network event
. 2014-11-17 21:41:24.447 Enumerating network events for socket 440
. 2014-11-17 21:41:24.447 Enumerated 1 network events making 1 cumulative events for socket 440
. 2014-11-17 21:41:24.447 Handling network read event on socket 440 with error 0
. 2014-11-17 21:41:24.447 Received 9 bytes (0)
. 2014-11-17 21:41:24.447 Read 4 bytes (5 pending)
. 2014-11-17 21:41:24.447 Read 5 bytes (0 pending)
< 2014-11-17 21:41:24.447 Type: SSH_FXP_VERSION, Size: 5, Number: -1
< 2014-11-17 21:41:24.447 02,00,00,00,03,
. 2014-11-17 21:41:24.447 SFTP version 3 negotiated.
. 2014-11-17 21:41:24.447 We believe the server has signed timestamps bug
. 2014-11-17 21:41:24.447 We will use UTF-8 strings when appropriate
. 2014-11-17 21:41:24.447 Getting current directory name.
. 2014-11-17 21:41:24.447 Getting real path for '.'
> 2014-11-17 21:41:24.447 Type: SSH_FXP_REALPATH, Size: 10, Number: 16
> 2014-11-17 21:41:24.447 10,00,00,00,10,00,00,00,01,2E,
. 2014-11-17 21:41:24.447 Sent 14 bytes
. 2014-11-17 21:41:24.447 There are 0 bytes remaining in the send buffer
. 2014-11-17 21:41:24.447 Looking for network events
. 2014-11-17 21:41:24.447 Timeout waiting for network events
. 2014-11-17 21:41:24.447 Waiting for another 4 bytes
. 2014-11-17 21:41:24.447 Looking for incoming data
. 2014-11-17 21:41:24.447 Looking for network events
. 2014-11-17 21:41:24.479 Detected network event
. 2014-11-17 21:41:24.479 Enumerating network events for socket 440
. 2014-11-17 21:41:24.479 Enumerated 1 network events making 1 cumulative events for socket 440
. 2014-11-17 21:41:24.479 Handling network read event on socket 440 with error 0
. 2014-11-17 21:41:24.479 Received 55 bytes (0)
. 2014-11-17 21:41:24.479 Read 4 bytes (51 pending)
. 2014-11-17 21:41:24.479 Read 51 bytes (0 pending)
< 2014-11-17 21:41:24.479 Type: SSH_FXP_NAME, Size: 51, Number: 16
< 2014-11-17 21:41:24.479 68,00,00,00,10,00,00,00,01,00,00,00,01,2F,00,00,00,01,2F,00,00,00,0F,00,00,
< 2014-11-17 21:41:24.479 00,00,00,00,04,00,00,00,01,2C,00,00,00,64,00,00,41,C0,54,6A,5D,74,54,6A,5D,
< 2014-11-17 21:41:24.479 74,
. 2014-11-17 21:41:24.479 Real path is '/'
. 2014-11-17 21:41:24.479 Startup conversation with host finished.
< 2014-11-17 21:41:24.479 Script: Active session: [1] myuser@remoteip
. 2014-11-17 21:41:24.479 Session upkeep
. 2014-11-17 21:41:24.479 Looking for network events
. 2014-11-17 21:41:24.479 Timeout waiting for network events
. 2014-11-17 21:41:24.479 Session upkeep
. 2014-11-17 21:41:24.479 Looking for network events
. 2014-11-17 21:41:24.479 Timeout waiting for network events
> 2014-11-17 21:41:24.479 Script: cd /test
. 2014-11-17 21:41:24.479 Cached directory change via "/test" to "/test".
. 2014-11-17 21:41:24.479 Getting current directory name.
< 2014-11-17 21:41:24.479 Script: /test
. 2014-11-17 21:41:24.479 Session upkeep
. 2014-11-17 21:41:24.479 Looking for network events
. 2014-11-17 21:41:24.479 Timeout waiting for network events
. 2014-11-17 21:41:24.479 Session upkeep
. 2014-11-17 21:41:24.479 Looking for network events
. 2014-11-17 21:41:24.479 Timeout waiting for network events
> 2014-11-17 21:41:24.479 Script: put -nopreservetime -nopermissions E:\tools\winscp555\WinSCP\test.txt
. 2014-11-17 21:41:24.479 Copying 1 files/directories to remote directory "/test"
. 2014-11-17 21:41:24.479   PrTime: No; PrRO: No; Rght: rw-r--r--; PrR: No (No); FnCs: N; RIC: 0100; Resume: S (102400); CalcS: No; Mask: 
. 2014-11-17 21:41:24.479   TM: B; ClAr: No; RemEOF: No; RemBOM: No; CPS: 0; NewerOnly: No; InclM: 
. 2014-11-17 21:41:24.479   AscM: *.*html; *.htm; *.txt; *.php; *.php3; *.cgi; *.c; *.cpp; *.h; *.pas; *.bas; *.tex; *.pl; *.js; .htaccess; *.xtml; *.css; *.cfg; *.ini; *.sh; *.xml
. 2014-11-17 21:41:24.479 File: 'E:\tools\winscp555\WinSCP\file.txt' [2014-10-10T09:02:11.004Z] [0]
. 2014-11-17 21:41:24.479 Copying "E:\tools\winscp555\WinSCP\file.txt" to remote directory started.
. 2014-11-17 21:41:24.479 Binary transfer mode selected.
. 2014-11-17 21:41:24.479 Opening remote file.
> 2014-11-17 21:41:24.479 Type: SSH_FXP_OPEN, Size: 47, Number: 259
> 2014-11-17 21:41:24.479 03,00,00,01,03,00,00,00,16,2F,74,65,73,74,2F,6C,6F,6E,74,65,73,74,2D,73,63,
> 2014-11-17 21:41:24.479 61,6E,2E,74,78,74,00,00,00,1A,00,00,00,01,00,00,00,00,00,00,00,00,
. 2014-11-17 21:41:24.479 Sent 51 bytes
. 2014-11-17 21:41:24.479 There are 0 bytes remaining in the send buffer
. 2014-11-17 21:41:24.479 Looking for network events
. 2014-11-17 21:41:24.479 Timeout waiting for network events
. 2014-11-17 21:41:24.479 Waiting for another 4 bytes
. 2014-11-17 21:41:24.479 Looking for incoming data
. 2014-11-17 21:41:24.479 Looking for network events
. 2014-11-17 21:41:24.635 Detected network event
. 2014-11-17 21:41:24.635 Enumerating network events for socket 440
. 2014-11-17 21:41:24.635 Enumerated 1 network events making 1 cumulative events for socket 440
. 2014-11-17 21:41:24.635 Handling network read event on socket 440 with error 0
. 2014-11-17 21:41:24.635 Received 14 bytes (0)
. 2014-11-17 21:41:24.635 Read 4 bytes (10 pending)
. 2014-11-17 21:41:24.635 Read 10 bytes (0 pending)
< 2014-11-17 21:41:24.635 Type: SSH_FXP_HANDLE, Size: 10, Number: 259
< 2014-11-17 21:41:24.635 66,00,00,01,03,00,00,00,01,30,
> 2014-11-17 21:41:24.635 Type: SSH_FXP_CLOSE, Size: 10, Number: 772
> 2014-11-17 21:41:24.635 04,00,00,03,04,00,00,00,01,30,
. 2014-11-17 21:41:24.635 Sent 14 bytes
. 2014-11-17 21:41:24.635 There are 0 bytes remaining in the send buffer
. 2014-11-17 21:41:24.635 Looking for network events
. 2014-11-17 21:41:24.635 Timeout waiting for network events
. 2014-11-17 21:41:24.635 Waiting for another 4 bytes
. 2014-11-17 21:41:24.635 Looking for incoming data
. 2014-11-17 21:41:24.635 Looking for network events
. 2014-11-17 21:41:24.775 Detected network event
. 2014-11-17 21:41:24.775 Enumerating network events for socket 440
. 2014-11-17 21:41:24.775 Enumerated 1 network events making 1 cumulative events for socket 440
. 2014-11-17 21:41:24.775 Handling network read event on socket 440 with error 0
. 2014-11-17 21:41:24.775 Received 44 bytes (0)
. 2014-11-17 21:41:24.775 Read 4 bytes (40 pending)
. 2014-11-17 21:41:24.775 Read 40 bytes (0 pending)
< 2014-11-17 21:41:24.775 Type: SSH_FXP_STATUS, Size: 40, Number: 772
< 2014-11-17 21:41:24.775 65,00,00,03,04,00,00,00,00,00,00,00,17,54,68,65,20,6F,70,65,72,61,74,69,6F,
< 2014-11-17 21:41:24.775 6E,20,63,6F,6D,70,6C,65,74,65,64,00,00,00,00,
< 2014-11-17 21:41:24.775 Status code: 0
. 2014-11-17 21:41:24.775 Session upkeep
. 2014-11-17 21:41:24.775 Looking for network events
. 2014-11-17 21:41:24.775 Timeout waiting for network events
. 2014-11-17 21:41:24.775 Session upkeep
. 2014-11-17 21:41:24.775 Looking for network events
. 2014-11-17 21:41:24.775 Timeout waiting for network events
> 2014-11-17 21:41:24.775 Script: close
. 2014-11-17 21:41:24.775 Closing connection.
. 2014-11-17 21:41:24.775 Sending special code: 12
. 2014-11-17 21:41:24.775 Sent EOF message
. 2014-11-17 21:41:24.775 Selecting events 0 for socket 440
[/code]

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,506
Location:
Prague, Czechia

Re: Sending special code: 12 even though the script went ok

I do not see any "error" in "Sending special code: 12".
Do you have any actual problem or are you just misinterpreting the above log record?

Reply with quote

PeterF
Joined:
Posts:
2

Re: Sending special code: 12 even though the script went ok

martin wrote:

I do not see any "error" in "Sending special code: 12".
Do you have any actual problem or are you just misinterpreting the above log record?


I am using this script in the integration program synchrony(xib) and are testing for returncode 0. Is there another way to test on any returncode to decide if the script went right or wrong.

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
41,506
Location:
Prague, Czechia

Re: Sending special code: 12 even though the script went ok

PeterF wrote:

I am using this script in the integration program synchrony(xib) and are testing for returncode 0. Is there another way to test on any returncode to decide if the script went right or wrong.
By "another way to test on any returncode", do you actually mean "another way to test on script result"?
Testing exit code is the best way.
See https://winscp.net/eng/docs/faq_script_result

Reply with quote

Advertisement

You can post new topics in this forum