XML Log Question
I am using "WinSCP Version 4.0.6 (Build 358) (OS 5.2.3790 Service Pack 1)" and I have issued a command like this "winscp.com /open %abapguser%:%abapgpass%@%abapgaddr% /option transfer ascii /log=%BtchPath%PathOutWinScp.xml /command "cd /ABAP/PP1/infc/out" "ls" "close" "exit"" and when I view the XML log the file lising is NOT present. Is the a bug or as my syntax incorrect?
Log output:
*** Begin Log File sample
. 2009-04-21 13:25:21.635 --------------------------------------------------------------------------
. 2009-04-21 13:25:21.635 WinSCP Version 4.0.6 (Build 358) (OS 5.2.3790 Service Pack 1)
. 2009-04-21 13:25:21.635 Login time: Tuesday, April 21, 2009 1:25:21 PM
. 2009-04-21 13:25:21.635 --------------------------------------------------------------------------
. 2009-04-21 13:25:21.635 Session name: abapftpg@10.15.24.86
. 2009-04-21 13:25:21.635 Host name: 10.15.24.86 (Port: 22)
. 2009-04-21 13:25:21.635 User name: abapftpg (Password: Yes, Key file: No)
. 2009-04-21 13:25:21.635 Tunnel: No
. 2009-04-21 13:25:21.651 Transfer Protocol: SFTP (SCP)
. 2009-04-21 13:25:21.651 Ping type: -, Ping interval: 30 sec; Timeout: 15 sec
. 2009-04-21 13:25:21.651 Proxy: none
. 2009-04-21 13:25:21.651 SSH protocol version: 2; Compression: No
. 2009-04-21 13:25:21.651 Agent forwarding: No; TIS/CryptoCard: No; KI: Yes; GSSAPI: No
. 2009-04-21 13:25:21.651 Ciphers: aes,blowfish,3des,WARN,des; Ssh2DES: No
. 2009-04-21 13:25:21.651 SSH Bugs: -,-,-,-,-,-,-,-
. 2009-04-21 13:25:21.651 SFTP Bugs: -,-,-
. 2009-04-21 13:25:21.651 Return code variable: Autodetect; Lookup user groups: Yes
. 2009-04-21 13:25:21.651 Shell: default, EOL: 0
. 2009-04-21 13:25:21.651 Clear aliases: Yes, Unset nat.vars: Yes, Resolve symlinks: Yes
. 2009-04-21 13:25:21.651 Alias LS: No, Ign LS warn: Yes, Scp1 Comp: No
. 2009-04-21 13:25:21.651 Local directory: default, Remote directory: home, Update: No, Cache: Yes
. 2009-04-21 13:25:21.651 Cache directory changes: Yes, Permanent: Yes
. 2009-04-21 13:25:21.651 DST mode: 1
. 2009-04-21 13:25:21.651 --------------------------------------------------------------------------
. 2009-04-21 13:25:21.651 Looking up host "10.15.24.86"
. 2009-04-21 13:25:21.651 Connecting to 10.15.24.86 port 22
. 2009-04-21 13:25:21.697 Server version: SSH-2.0-Sun_SSH_1.1
. 2009-04-21 13:25:21.697 We claim version: SSH-2.0-WinSCP_release_4.0.6
. 2009-04-21 13:25:21.697 Using SSH protocol version 2
. 2009-04-21 13:25:21.822 Doing Diffie-Hellman group exchange
. 2009-04-21 13:25:21.822 Doing Diffie-Hellman key exchange
. 2009-04-21 13:25:21.901 Host key fingerprint is:
. 2009-04-21 13:25:21.901 ssh-rsa 1024 5a:f4:20:d6:9e:f6:cf:a7:5a:7a:bd:e1:4b:0b:3d:03
. 2009-04-21 13:25:21.901 Initialised AES-128 client->server encryption
. 2009-04-21 13:25:21.901 Initialised HMAC-SHA1 client->server MAC algorithm
. 2009-04-21 13:25:21.901 Initialised AES-128 server->client encryption
. 2009-04-21 13:25:21.901 Initialised HMAC-SHA1 server->client MAC algorithm
! 2009-04-21 13:25:21.932 Using username "abapftpg".
! 2009-04-21 13:25:21.932 BHBSS - Business Application Services
! 2009-04-21 13:25:21.932 For authorized use only!
! 2009-04-21 13:25:21.932 Unauthorized use of this equipment is strictly prohibited.
! 2009-04-21 13:25:21.932 All activity will be logged and/or monitored.
. 2009-04-21 13:25:21.932 Keyboard-interactive authentication refused
. 2009-04-21 13:25:21.932 Session password prompt (abapftpg@10.15.24.86's password: )
. 2009-04-21 13:25:21.932 Using stored password.
. 2009-04-21 13:25:21.947 Sent password
. 2009-04-21 13:25:21.963 Access granted
. 2009-04-21 13:25:21.979 Opened channel for session
. 2009-04-21 13:25:21.979 Started a shell/command
. 2009-04-21 13:25:21.979 --------------------------------------------------------------------------
. 2009-04-21 13:25:21.979 Using SFTP protocol.
. 2009-04-21 13:25:21.994 Doing startup conversation with host.
> 2009-04-21 13:25:21.994 Type: SSH_FXP_INIT, Size: 5, Number: -1
< 2009-04-21 13:25:21.994 Type: SSH_FXP_VERSION, Size: 5, Number: -1
. 2009-04-21 13:25:21.994 SFTP version 3 negotiated.
. 2009-04-21 13:25:21.994 We believe the server has signed timestamps bug
. 2009-04-21 13:25:21.994 We will use UTF-8 strings for status messages only
. 2009-04-21 13:25:21.994 Getting current directory name.
. 2009-04-21 13:25:21.994 Getting real path for '.'
> 2009-04-21 13:25:21.994 Type: SSH_FXP_REALPATH, Size: 10, Number: 16
< 2009-04-21 13:25:21.994 Type: SSH_FXP_NAME, Size: 43, Number: 16
. 2009-04-21 13:25:21.994 Real path is '/ABAP/TRANS'
. 2009-04-21 13:25:21.994 Startup conversation with host finished.
. 2009-04-21 13:25:22.010 Cached directory change via "/ABAP/PP1/infc/out" to "/ABAP/PP1/infc/out".
. 2009-04-21 13:25:22.010 Getting current directory name.
. 2009-04-21 13:25:22.010 Listing directory "/ABAP/PP1/infc/out".
> 2009-04-21 13:25:22.010 Type: SSH_FXP_OPENDIR, Size: 27, Number: 267
< 2009-04-21 13:25:22.010 Type: SSH_FXP_HANDLE, Size: 13, Number: 267
> 2009-04-21 13:25:22.010 Type: SSH_FXP_READDIR, Size: 13, Number: 524
< 2009-04-21 13:25:22.026 Type: SSH_FXP_NAME, Size: 599, Number: 524
> 2009-04-21 13:25:22.026 Type: SSH_FXP_READDIR, Size: 13, Number: 780
< 2009-04-21 13:25:22.026 Type: SSH_FXP_STATUS, Size: 28, Number: 780
< 2009-04-21 13:25:22.026 Status/error code: 1
> 2009-04-21 13:25:22.026 Type: SSH_FXP_CLOSE, Size: 13, Number: 1028
. 2009-04-21 13:25:22.026 Closing connection.
*** End Log File sample
Log output:
*** Begin Log File sample
. 2009-04-21 13:25:21.635 --------------------------------------------------------------------------
. 2009-04-21 13:25:21.635 WinSCP Version 4.0.6 (Build 358) (OS 5.2.3790 Service Pack 1)
. 2009-04-21 13:25:21.635 Login time: Tuesday, April 21, 2009 1:25:21 PM
. 2009-04-21 13:25:21.635 --------------------------------------------------------------------------
. 2009-04-21 13:25:21.635 Session name: abapftpg@10.15.24.86
. 2009-04-21 13:25:21.635 Host name: 10.15.24.86 (Port: 22)
. 2009-04-21 13:25:21.635 User name: abapftpg (Password: Yes, Key file: No)
. 2009-04-21 13:25:21.635 Tunnel: No
. 2009-04-21 13:25:21.651 Transfer Protocol: SFTP (SCP)
. 2009-04-21 13:25:21.651 Ping type: -, Ping interval: 30 sec; Timeout: 15 sec
. 2009-04-21 13:25:21.651 Proxy: none
. 2009-04-21 13:25:21.651 SSH protocol version: 2; Compression: No
. 2009-04-21 13:25:21.651 Agent forwarding: No; TIS/CryptoCard: No; KI: Yes; GSSAPI: No
. 2009-04-21 13:25:21.651 Ciphers: aes,blowfish,3des,WARN,des; Ssh2DES: No
. 2009-04-21 13:25:21.651 SSH Bugs: -,-,-,-,-,-,-,-
. 2009-04-21 13:25:21.651 SFTP Bugs: -,-,-
. 2009-04-21 13:25:21.651 Return code variable: Autodetect; Lookup user groups: Yes
. 2009-04-21 13:25:21.651 Shell: default, EOL: 0
. 2009-04-21 13:25:21.651 Clear aliases: Yes, Unset nat.vars: Yes, Resolve symlinks: Yes
. 2009-04-21 13:25:21.651 Alias LS: No, Ign LS warn: Yes, Scp1 Comp: No
. 2009-04-21 13:25:21.651 Local directory: default, Remote directory: home, Update: No, Cache: Yes
. 2009-04-21 13:25:21.651 Cache directory changes: Yes, Permanent: Yes
. 2009-04-21 13:25:21.651 DST mode: 1
. 2009-04-21 13:25:21.651 --------------------------------------------------------------------------
. 2009-04-21 13:25:21.651 Looking up host "10.15.24.86"
. 2009-04-21 13:25:21.651 Connecting to 10.15.24.86 port 22
. 2009-04-21 13:25:21.697 Server version: SSH-2.0-Sun_SSH_1.1
. 2009-04-21 13:25:21.697 We claim version: SSH-2.0-WinSCP_release_4.0.6
. 2009-04-21 13:25:21.697 Using SSH protocol version 2
. 2009-04-21 13:25:21.822 Doing Diffie-Hellman group exchange
. 2009-04-21 13:25:21.822 Doing Diffie-Hellman key exchange
. 2009-04-21 13:25:21.901 Host key fingerprint is:
. 2009-04-21 13:25:21.901 ssh-rsa 1024 5a:f4:20:d6:9e:f6:cf:a7:5a:7a:bd:e1:4b:0b:3d:03
. 2009-04-21 13:25:21.901 Initialised AES-128 client->server encryption
. 2009-04-21 13:25:21.901 Initialised HMAC-SHA1 client->server MAC algorithm
. 2009-04-21 13:25:21.901 Initialised AES-128 server->client encryption
. 2009-04-21 13:25:21.901 Initialised HMAC-SHA1 server->client MAC algorithm
! 2009-04-21 13:25:21.932 Using username "abapftpg".
! 2009-04-21 13:25:21.932 BHBSS - Business Application Services
! 2009-04-21 13:25:21.932 For authorized use only!
! 2009-04-21 13:25:21.932 Unauthorized use of this equipment is strictly prohibited.
! 2009-04-21 13:25:21.932 All activity will be logged and/or monitored.
. 2009-04-21 13:25:21.932 Keyboard-interactive authentication refused
. 2009-04-21 13:25:21.932 Session password prompt (abapftpg@10.15.24.86's password: )
. 2009-04-21 13:25:21.932 Using stored password.
. 2009-04-21 13:25:21.947 Sent password
. 2009-04-21 13:25:21.963 Access granted
. 2009-04-21 13:25:21.979 Opened channel for session
. 2009-04-21 13:25:21.979 Started a shell/command
. 2009-04-21 13:25:21.979 --------------------------------------------------------------------------
. 2009-04-21 13:25:21.979 Using SFTP protocol.
. 2009-04-21 13:25:21.994 Doing startup conversation with host.
> 2009-04-21 13:25:21.994 Type: SSH_FXP_INIT, Size: 5, Number: -1
< 2009-04-21 13:25:21.994 Type: SSH_FXP_VERSION, Size: 5, Number: -1
. 2009-04-21 13:25:21.994 SFTP version 3 negotiated.
. 2009-04-21 13:25:21.994 We believe the server has signed timestamps bug
. 2009-04-21 13:25:21.994 We will use UTF-8 strings for status messages only
. 2009-04-21 13:25:21.994 Getting current directory name.
. 2009-04-21 13:25:21.994 Getting real path for '.'
> 2009-04-21 13:25:21.994 Type: SSH_FXP_REALPATH, Size: 10, Number: 16
< 2009-04-21 13:25:21.994 Type: SSH_FXP_NAME, Size: 43, Number: 16
. 2009-04-21 13:25:21.994 Real path is '/ABAP/TRANS'
. 2009-04-21 13:25:21.994 Startup conversation with host finished.
. 2009-04-21 13:25:22.010 Cached directory change via "/ABAP/PP1/infc/out" to "/ABAP/PP1/infc/out".
. 2009-04-21 13:25:22.010 Getting current directory name.
. 2009-04-21 13:25:22.010 Listing directory "/ABAP/PP1/infc/out".
> 2009-04-21 13:25:22.010 Type: SSH_FXP_OPENDIR, Size: 27, Number: 267
< 2009-04-21 13:25:22.010 Type: SSH_FXP_HANDLE, Size: 13, Number: 267
> 2009-04-21 13:25:22.010 Type: SSH_FXP_READDIR, Size: 13, Number: 524
< 2009-04-21 13:25:22.026 Type: SSH_FXP_NAME, Size: 599, Number: 524
> 2009-04-21 13:25:22.026 Type: SSH_FXP_READDIR, Size: 13, Number: 780
< 2009-04-21 13:25:22.026 Type: SSH_FXP_STATUS, Size: 28, Number: 780
< 2009-04-21 13:25:22.026 Status/error code: 1
> 2009-04-21 13:25:22.026 Type: SSH_FXP_CLOSE, Size: 13, Number: 1028
. 2009-04-21 13:25:22.026 Closing connection.
*** End Log File sample