Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Thanks for the logs.
This bug has been added to tracker.

As a workaround you can use Listing command session option to specify ls with parameters to disable the coloring. Or you can use full path to ls to bypass the alias.

Of course the most correct solution would be to set coloring alias to ls only for interactive sessions.
Guest

Here are the logs. I posted the log of 4.1.6, where the error still exists, instead of 4.1.5.

4.0.7:
. 2008-08-05 19:10:04.265 --------------------------------------------------------------------------
. 2008-08-05 19:10:04.281 WinSCP Version 4.0.7 (Build 370) (OS 5.1.2600 Service Pack 3)
. 2008-08-05 19:10:04.281 Login time: Dienstag, 5. August 2008 19:10:04
. 2008-08-05 19:10:04.281 --------------------------------------------------------------------------
. 2008-08-05 19:10:04.281 Session name: jkunze@nslu2
. 2008-08-05 19:10:04.281 Host name: nslu2 (Port: 22)
. 2008-08-05 19:10:04.281 User name: jkunze (Password: No, Key file: No)
. 2008-08-05 19:10:04.281 Tunnel: No
. 2008-08-05 19:10:04.281 Transfer Protocol: SFTP (SCP)
. 2008-08-05 19:10:04.281 Ping type: -, Ping interval: 30 sec; Timeout: 15 sec
. 2008-08-05 19:10:04.281 Proxy: none
. 2008-08-05 19:10:04.281 SSH protocol version: 2; Compression: No
. 2008-08-05 19:10:04.281 Agent forwarding: No; TIS/CryptoCard: No; KI: Yes; GSSAPI: No
. 2008-08-05 19:10:04.281 Ciphers: aes,blowfish,3des,WARN,des; Ssh2DES: No
. 2008-08-05 19:10:04.281 SSH Bugs: -,-,-,-,-,-,-,-
. 2008-08-05 19:10:04.281 SFTP Bugs: -,-,-
. 2008-08-05 19:10:04.281 Return code variable: Autodetect; Lookup user groups: Yes
. 2008-08-05 19:10:04.281 Shell: default, EOL: 0
. 2008-08-05 19:10:04.281 Clear aliases: Yes, Unset nat.vars: Yes, Resolve symlinks: Yes
. 2008-08-05 19:10:04.281 Alias LS: No, Ign LS warn: Yes, Scp1 Comp: No
. 2008-08-05 19:10:04.281 Local directory: default, Remote directory: home, Update: No, Cache: Yes
. 2008-08-05 19:10:04.281 Cache directory changes: Yes, Permanent: Yes
. 2008-08-05 19:10:04.281 DST mode: 1
. 2008-08-05 19:10:04.281 --------------------------------------------------------------------------
. 2008-08-05 19:10:04.328 Looking up host "nslu2"
. 2008-08-05 19:10:04.328 Connecting to 192.168.178.22 port 22
. 2008-08-05 19:10:04.437 Server version: SSH-2.0-OpenSSH_4.6
. 2008-08-05 19:10:04.437 We claim version: SSH-2.0-WinSCP_release_4.0.7
. 2008-08-05 19:10:04.437 Using SSH protocol version 2
. 2008-08-05 19:10:04.453 Doing Diffie-Hellman group exchange
. 2008-08-05 19:10:04.546 Doing Diffie-Hellman key exchange
. 2008-08-05 19:10:05.578 Host key fingerprint is:
. 2008-08-05 19:10:05.578 ssh-rsa 2048 29:d2:9c:7b:49:cb:72:34:f9:d7:da:ac:56:66:c2:92
. 2008-08-05 19:10:05.578 Initialised AES-256 client->server encryption
. 2008-08-05 19:10:05.578 Initialised HMAC-SHA1 client->server MAC algorithm
. 2008-08-05 19:10:05.578 Initialised AES-256 server->client encryption
. 2008-08-05 19:10:05.578 Initialised HMAC-SHA1 server->client MAC algorithm
! 2008-08-05 19:10:05.578 Using username "jkunze".
. 2008-08-05 19:10:05.609 Session password prompt (jkunze@nslu2's password: )
. 2008-08-05 19:10:13.750 Sent password
. 2008-08-05 19:10:13.765 Access granted
. 2008-08-05 19:10:13.781 Opened channel for session
. 2008-08-05 19:10:13.796 Primary command failed; attempting fallback
. 2008-08-05 19:10:13.812 Started a shell/command
. 2008-08-05 19:10:13.812 --------------------------------------------------------------------------
. 2008-08-05 19:10:13.812 Using SCP protocol.
. 2008-08-05 19:10:13.812 Doing startup conversation with host.
. 2008-08-05 19:10:13.812 Skipping host startup message (if any).
> 2008-08-05 19:10:13.812 echo "WinSCP: this is end-of-file:0"
< 2008-08-05 19:10:13.859 WinSCP: this is end-of-file:0
. 2008-08-05 19:10:13.859 Detecting variable containing return code of last command.
. 2008-08-05 19:10:13.859 Trying "$status".
> 2008-08-05 19:10:13.859 echo "$status" ; echo "WinSCP: this is end-of-file:0"
< 2008-08-05 19:10:13.921 WinSCP: this is end-of-file:0
. 2008-08-05 19:10:13.921 Trying "$?".
> 2008-08-05 19:10:13.921 echo "$?" ; echo "WinSCP: this is end-of-file:0"
< 2008-08-05 19:10:13.984 0
< 2008-08-05 19:10:14.000 WinSCP: this is end-of-file:0
. 2008-08-05 19:10:14.000 Return code variable "$?" selected.
. 2008-08-05 19:10:14.000 Clearing all aliases.
> 2008-08-05 19:10:14.000 unalias "echo" ; echo "WinSCP: this is end-of-file:$?"
! 2008-08-05 19:10:14.046 unalias: echo not found
< 2008-08-05 19:10:14.062 WinSCP: this is end-of-file:1
> 2008-08-05 19:10:14.062 unalias "pwd" ; echo "WinSCP: this is end-of-file:$?"
! 2008-08-05 19:10:14.093 unalias: pwd not found
< 2008-08-05 19:10:14.109 WinSCP: this is end-of-file:1
> 2008-08-05 19:10:14.109 unalias "cd" ; echo "WinSCP: this is end-of-file:$?"
! 2008-08-05 19:10:14.140 unalias: cd not found
< 2008-08-05 19:10:14.156 WinSCP: this is end-of-file:1
> 2008-08-05 19:10:14.156 unalias "ls" ; echo "WinSCP: this is end-of-file:$?"
< 2008-08-05 19:10:14.203 WinSCP: this is end-of-file:0
> 2008-08-05 19:10:14.203 unalias "groups" ; echo "WinSCP: this is end-of-file:$?"
! 2008-08-05 19:10:14.234 unalias: groups not found
< 2008-08-05 19:10:14.250 WinSCP: this is end-of-file:1
> 2008-08-05 19:10:14.250 unalias "scp" ; echo "WinSCP: this is end-of-file:$?"
! 2008-08-05 19:10:14.296 unalias: scp not found
< 2008-08-05 19:10:14.312 WinSCP: this is end-of-file:1
> 2008-08-05 19:10:14.312 unalias "rm" ; echo "WinSCP: this is end-of-file:$?"
! 2008-08-05 19:10:14.343 unalias: rm not found
< 2008-08-05 19:10:14.359 WinSCP: this is end-of-file:1
> 2008-08-05 19:10:14.359 unalias "mv" ; echo "WinSCP: this is end-of-file:$?"
! 2008-08-05 19:10:14.390 unalias: mv not found
< 2008-08-05 19:10:14.406 WinSCP: this is end-of-file:1
> 2008-08-05 19:10:14.406 unalias "mkdir" ; echo "WinSCP: this is end-of-file:$?"
! 2008-08-05 19:10:14.437 unalias: mkdir not found
< 2008-08-05 19:10:14.453 WinSCP: this is end-of-file:1
> 2008-08-05 19:10:14.453 unalias "chmod" ; echo "WinSCP: this is end-of-file:$?"
! 2008-08-05 19:10:14.500 unalias: chmod not found
< 2008-08-05 19:10:14.515 WinSCP: this is end-of-file:1
> 2008-08-05 19:10:14.515 unalias "chgrp" ; echo "WinSCP: this is end-of-file:$?"
! 2008-08-05 19:10:14.546 unalias: chgrp not found
< 2008-08-05 19:10:14.562 WinSCP: this is end-of-file:1
> 2008-08-05 19:10:14.562 unalias "chown" ; echo "WinSCP: this is end-of-file:$?"
! 2008-08-05 19:10:14.593 unalias: chown not found
< 2008-08-05 19:10:14.609 WinSCP: this is end-of-file:1
> 2008-08-05 19:10:14.609 unalias "unset" ; echo "WinSCP: this is end-of-file:$?"
! 2008-08-05 19:10:14.640 unalias: unset not found
< 2008-08-05 19:10:14.656 WinSCP: this is end-of-file:1
> 2008-08-05 19:10:14.656 unalias "unalias" ; echo "WinSCP: this is end-of-file:$?"
! 2008-08-05 19:10:14.703 unalias: unalias not found
< 2008-08-05 19:10:14.703 WinSCP: this is end-of-file:1
> 2008-08-05 19:10:14.718 unalias "alias" ; echo "WinSCP: this is end-of-file:$?"
! 2008-08-05 19:10:14.750 unalias: alias not found
< 2008-08-05 19:10:14.765 WinSCP: this is end-of-file:1
> 2008-08-05 19:10:14.765 unalias "ln" ; echo "WinSCP: this is end-of-file:$?"
! 2008-08-05 19:10:14.796 unalias: ln not found
< 2008-08-05 19:10:14.812 WinSCP: this is end-of-file:1
> 2008-08-05 19:10:14.812 unalias "cp" ; echo "WinSCP: this is end-of-file:$?"
! 2008-08-05 19:10:14.843 unalias: cp not found
< 2008-08-05 19:10:14.859 WinSCP: this is end-of-file:1
. 2008-08-05 19:10:14.859 Clearing national user variables.
> 2008-08-05 19:10:14.859 unset "LANG" ; echo "WinSCP: this is end-of-file:$?"
< 2008-08-05 19:10:14.906 WinSCP: this is end-of-file:0
> 2008-08-05 19:10:14.906 unset "LANGUAGE" ; echo "WinSCP: this is end-of-file:$?"
< 2008-08-05 19:10:14.968 WinSCP: this is end-of-file:0
> 2008-08-05 19:10:14.968 unset "LC_CTYPE" ; echo "WinSCP: this is end-of-file:$?"
< 2008-08-05 19:10:15.015 WinSCP: this is end-of-file:0
> 2008-08-05 19:10:15.015 unset "LC_COLLATE" ; echo "WinSCP: this is end-of-file:$?"
< 2008-08-05 19:10:15.062 WinSCP: this is end-of-file:0
> 2008-08-05 19:10:15.062 unset "LC_MONETARY" ; echo "WinSCP: this is end-of-file:$?"
< 2008-08-05 19:10:15.109 WinSCP: this is end-of-file:0
> 2008-08-05 19:10:15.109 unset "LC_NUMERIC" ; echo "WinSCP: this is end-of-file:$?"
< 2008-08-05 19:10:15.171 WinSCP: this is end-of-file:0
> 2008-08-05 19:10:15.171 unset "LC_TIME" ; echo "WinSCP: this is end-of-file:$?"
< 2008-08-05 19:10:15.218 WinSCP: this is end-of-file:0
> 2008-08-05 19:10:15.218 unset "LC_MESSAGES" ; echo "WinSCP: this is end-of-file:$?"
< 2008-08-05 19:10:15.265 WinSCP: this is end-of-file:0
> 2008-08-05 19:10:15.265 unset "LC_ALL" ; echo "WinSCP: this is end-of-file:$?"
< 2008-08-05 19:10:15.312 WinSCP: this is end-of-file:0
> 2008-08-05 19:10:15.312 unset "HUMAN_BLOCKS" ; echo "WinSCP: this is end-of-file:$?"
< 2008-08-05 19:10:15.359 WinSCP: this is end-of-file:0
. 2008-08-05 19:10:15.359 Looking up groups and users.
> 2008-08-05 19:10:15.359 groups ; echo "WinSCP: this is end-of-file:$?"
< 2008-08-05 19:10:15.453 users
< 2008-08-05 19:10:15.468 WinSCP: this is end-of-file:0
. 2008-08-05 19:10:15.468 Following groups found:
. 2008-08-05 19:10:15.468   users
. 2008-08-05 19:10:15.468 No users found.
. 2008-08-05 19:10:15.468 Getting current directory name.
> 2008-08-05 19:10:15.468 pwd ; echo "WinSCP: this is end-of-file:$?"
< 2008-08-05 19:10:15.468 /home/jkunze
< 2008-08-05 19:10:15.484 WinSCP: this is end-of-file:0
. 2008-08-05 19:10:15.484 Listing current directory.
> 2008-08-05 19:10:15.484 ls -la --full-time ; echo "WinSCP: this is end-of-file:$?"
< 2008-08-05 19:10:15.546 total 8
< 2008-08-05 19:10:15.546 drwxr-sr-x  2 jkunze users 4096 2008-05-14 01:14:41.000000000 +0200 .
< 2008-08-05 19:10:15.546 drwxr-xr-x  5 root   root  4096 2008-02-20 13:53:57.000000000 +0100 ..
< 2008-08-05 19:10:15.562 WinSCP: this is end-of-file:0
. 2008-08-05 19:10:15.578 Directory listing with --full-time succeed, next time all errors during directory listing will be displayed immediatelly.
. 2008-08-05 19:10:15.578 Startup conversation with host finished.
. 2008-08-05 19:12:06.531 Closing connection.


4.1.6:
. 2008-08-05 18:53:13.625 --------------------------------------------------------------------------
. 2008-08-05 18:53:13.625 WinSCP Version 4.1.6 (Build 412) (OS 5.1.2600 Service Pack 3)
. 2008-08-05 18:53:13.625 Login time: Dienstag, 5. August 2008 18:53:13
. 2008-08-05 18:53:13.625 --------------------------------------------------------------------------
. 2008-08-05 18:53:13.625 Session name: NSLU2
. 2008-08-05 18:53:13.625 Host name: nslu2 (Port: 22)
. 2008-08-05 18:53:13.625 User name: jkunze (Password: No, Key file: No)
. 2008-08-05 18:53:13.625 Tunnel: No
. 2008-08-05 18:53:13.625 Transfer Protocol: SCP
. 2008-08-05 18:53:13.625 Ping type: -, Ping interval: 30 sec; Timeout: 15 sec
. 2008-08-05 18:53:13.625 Proxy: none
. 2008-08-05 18:53:13.625 SSH protocol version: 2; Compression: No
. 2008-08-05 18:53:13.625 Bypass authentication: No
. 2008-08-05 18:53:13.625 Try agent: Yes; Agent forwarding: No; TIS/CryptoCard: No; KI: Yes; GSSAPI: No
. 2008-08-05 18:53:13.625 Ciphers: aes,blowfish,3des,WARN,arcfour,des; Ssh2DES: No
. 2008-08-05 18:53:13.625 SSH Bugs: -,-,-,-,-,-,-,-
. 2008-08-05 18:53:13.625 SFTP Bugs: -,-
. 2008-08-05 18:53:13.625 Return code variable: Autodetect; Lookup user groups: Yes
. 2008-08-05 18:53:13.625 Shell: default, EOL: 0
. 2008-08-05 18:53:13.625 Clear aliases: Yes, Unset nat.vars: Yes, Resolve symlinks: Yes
. 2008-08-05 18:53:13.625 LS: ls -la, Ign LS warn: Yes, Scp1 Comp: No
. 2008-08-05 18:53:13.625 Local directory: default, Remote directory: home, Update: No, Cache: Yes
. 2008-08-05 18:53:13.625 Cache directory changes: Yes, Permanent: Yes
. 2008-08-05 18:53:13.625 DST mode: 1
. 2008-08-05 18:53:13.625 --------------------------------------------------------------------------
. 2008-08-05 18:53:13.687 Looking up host "nslu2"
. 2008-08-05 18:53:13.687 Connecting to 192.168.178.22 port 22
. 2008-08-05 18:53:13.828 Server version: SSH-2.0-OpenSSH_4.6
. 2008-08-05 18:53:13.828 We claim version: SSH-2.0-WinSCP_release_4.1.6
. 2008-08-05 18:53:13.875 SSPI: acquired credentials for: Jens Kunze@SPEEDY
. 2008-08-05 18:53:13.875 Constructed service principal name 'host/nslu2'
. 2008-08-05 18:53:13.890 GSSKEX disabled: Im Sicherheitspaket sind keine Anmeldeinformationen verfügbar.
 
. 2008-08-05 18:53:13.906 Using SSH protocol version 2
. 2008-08-05 18:53:13.906 Doing Diffie-Hellman group exchange
. 2008-08-05 18:53:14.031 Doing Diffie-Hellman key exchange with hash SHA-1
. 2008-08-05 18:53:14.984 Host key fingerprint is:
. 2008-08-05 18:53:14.984 ssh-rsa 2048 29:d2:9c:7b:49:cb:72:34:f9:d7:da:ac:56:66:c2:92
. 2008-08-05 18:53:14.984 Initialised AES-256 SDCTR client->server encryption
. 2008-08-05 18:53:14.984 Initialised HMAC-SHA1 client->server MAC algorithm
. 2008-08-05 18:53:14.984 Initialised AES-256 SDCTR server->client encryption
. 2008-08-05 18:53:14.984 Initialised HMAC-SHA1 server->client MAC algorithm
! 2008-08-05 18:53:15.000 Using username "jkunze".
. 2008-08-05 18:53:15.031 Prompt (6, SSH password, , &Passwort:)
. 2008-08-05 18:53:18.984 Sent password
. 2008-08-05 18:53:19.000 Access granted
. 2008-08-05 18:53:19.031 Opened channel for session
. 2008-08-05 18:53:19.031 Started a shell/command
. 2008-08-05 18:53:19.031 --------------------------------------------------------------------------
. 2008-08-05 18:53:19.062 Using SCP protocol.
. 2008-08-05 18:53:19.062 Doing startup conversation with host.
. 2008-08-05 18:53:19.062 Skipping host startup message (if any).
> 2008-08-05 18:53:19.062 echo "WinSCP: this is end-of-file:0"
< 2008-08-05 18:53:19.125 WinSCP: this is end-of-file:0
. 2008-08-05 18:53:19.125 Detecting variable containing return code of last command.
. 2008-08-05 18:53:19.125 Trying "$status".
> 2008-08-05 18:53:19.125 echo "$status" ; echo "WinSCP: this is end-of-file:0"
< 2008-08-05 18:53:19.187 WinSCP: this is end-of-file:0
. 2008-08-05 18:53:19.187 Trying "$?".
> 2008-08-05 18:53:19.187 echo "$?" ; echo "WinSCP: this is end-of-file:0"
< 2008-08-05 18:53:19.234 0
< 2008-08-05 18:53:19.250 WinSCP: this is end-of-file:0
. 2008-08-05 18:53:19.250 Return code variable "$?" selected.
. 2008-08-05 18:53:19.250 Clearing all aliases.
> 2008-08-05 18:53:19.250 unalias "echo" ; echo "WinSCP: this is end-of-file:$?"
! 2008-08-05 18:53:19.296 unalias: echo not found
< 2008-08-05 18:53:19.312 WinSCP: this is end-of-file:1
> 2008-08-05 18:53:19.312 unalias "pwd" ; echo "WinSCP: this is end-of-file:$?"
! 2008-08-05 18:53:19.343 unalias: pwd not found
< 2008-08-05 18:53:19.359 WinSCP: this is end-of-file:1
> 2008-08-05 18:53:19.359 unalias "cd" ; echo "WinSCP: this is end-of-file:$?"
! 2008-08-05 18:53:19.390 unalias: cd not found
< 2008-08-05 18:53:19.406 WinSCP: this is end-of-file:1
> 2008-08-05 18:53:19.406 unalias "groups" ; echo "WinSCP: this is end-of-file:$?"
! 2008-08-05 18:53:19.453 unalias: groups not found
< 2008-08-05 18:53:19.468 WinSCP: this is end-of-file:1
> 2008-08-05 18:53:19.468 unalias "scp" ; echo "WinSCP: this is end-of-file:$?"
! 2008-08-05 18:53:19.500 unalias: scp not found
< 2008-08-05 18:53:19.515 WinSCP: this is end-of-file:1
> 2008-08-05 18:53:19.515 unalias "rm" ; echo "WinSCP: this is end-of-file:$?"
! 2008-08-05 18:53:19.546 unalias: rm not found
< 2008-08-05 18:53:19.562 WinSCP: this is end-of-file:1
> 2008-08-05 18:53:19.562 unalias "mv" ; echo "WinSCP: this is end-of-file:$?"
! 2008-08-05 18:53:19.593 unalias: mv not found
< 2008-08-05 18:53:19.609 WinSCP: this is end-of-file:1
> 2008-08-05 18:53:19.609 unalias "mkdir" ; echo "WinSCP: this is end-of-file:$?"
! 2008-08-05 18:53:19.640 unalias: mkdir not found
< 2008-08-05 18:53:19.656 WinSCP: this is end-of-file:1
> 2008-08-05 18:53:19.656 unalias "chmod" ; echo "WinSCP: this is end-of-file:$?"
! 2008-08-05 18:53:19.703 unalias: chmod not found
< 2008-08-05 18:53:19.718 WinSCP: this is end-of-file:1
> 2008-08-05 18:53:19.718 unalias "chgrp" ; echo "WinSCP: this is end-of-file:$?"
! 2008-08-05 18:53:19.750 unalias: chgrp not found
< 2008-08-05 18:53:19.765 WinSCP: this is end-of-file:1
> 2008-08-05 18:53:19.765 unalias "chown" ; echo "WinSCP: this is end-of-file:$?"
! 2008-08-05 18:53:19.796 unalias: chown not found
< 2008-08-05 18:53:19.812 WinSCP: this is end-of-file:1
> 2008-08-05 18:53:19.812 unalias "unset" ; echo "WinSCP: this is end-of-file:$?"
! 2008-08-05 18:53:19.843 unalias: unset not found
< 2008-08-05 18:53:19.859 WinSCP: this is end-of-file:1
> 2008-08-05 18:53:19.859 unalias "unalias" ; echo "WinSCP: this is end-of-file:$?"
! 2008-08-05 18:53:19.906 unalias: unalias not found
< 2008-08-05 18:53:19.921 WinSCP: this is end-of-file:1
> 2008-08-05 18:53:19.921 unalias "ln" ; echo "WinSCP: this is end-of-file:$?"
! 2008-08-05 18:53:19.953 unalias: ln not found
< 2008-08-05 18:53:19.968 WinSCP: this is end-of-file:1
> 2008-08-05 18:53:19.968 unalias "cp" ; echo "WinSCP: this is end-of-file:$?"
! 2008-08-05 18:53:20.000 unalias: cp not found
< 2008-08-05 18:53:20.015 WinSCP: this is end-of-file:1
. 2008-08-05 18:53:20.015 Clearing national user variables.
> 2008-08-05 18:53:20.015 unset "LANG" ; echo "WinSCP: this is end-of-file:$?"
< 2008-08-05 18:53:20.062 WinSCP: this is end-of-file:0
> 2008-08-05 18:53:20.062 unset "LANGUAGE" ; echo "WinSCP: this is end-of-file:$?"
< 2008-08-05 18:53:20.109 WinSCP: this is end-of-file:0
> 2008-08-05 18:53:20.125 unset "LC_CTYPE" ; echo "WinSCP: this is end-of-file:$?"
< 2008-08-05 18:53:20.171 WinSCP: this is end-of-file:0
> 2008-08-05 18:53:20.171 unset "LC_COLLATE" ; echo "WinSCP: this is end-of-file:$?"
< 2008-08-05 18:53:20.218 WinSCP: this is end-of-file:0
> 2008-08-05 18:53:20.218 unset "LC_MONETARY" ; echo "WinSCP: this is end-of-file:$?"
< 2008-08-05 18:53:20.265 WinSCP: this is end-of-file:0
> 2008-08-05 18:53:20.265 unset "LC_NUMERIC" ; echo "WinSCP: this is end-of-file:$?"
< 2008-08-05 18:53:20.312 WinSCP: this is end-of-file:0
> 2008-08-05 18:53:20.312 unset "LC_TIME" ; echo "WinSCP: this is end-of-file:$?"
< 2008-08-05 18:53:20.375 WinSCP: this is end-of-file:0
> 2008-08-05 18:53:20.375 unset "LC_MESSAGES" ; echo "WinSCP: this is end-of-file:$?"
< 2008-08-05 18:53:20.421 WinSCP: this is end-of-file:0
> 2008-08-05 18:53:20.421 unset "LC_ALL" ; echo "WinSCP: this is end-of-file:$?"
< 2008-08-05 18:53:20.468 WinSCP: this is end-of-file:0
> 2008-08-05 18:53:20.468 unset "HUMAN_BLOCKS" ; echo "WinSCP: this is end-of-file:$?"
< 2008-08-05 18:53:20.515 WinSCP: this is end-of-file:0
. 2008-08-05 18:53:20.640 Looking up groups and users.
> 2008-08-05 18:53:20.640 groups ; echo "WinSCP: this is end-of-file:$?"
< 2008-08-05 18:53:20.734 users
< 2008-08-05 18:53:20.750 WinSCP: this is end-of-file:0
. 2008-08-05 18:53:20.750 Following groups found:
. 2008-08-05 18:53:20.750   users
. 2008-08-05 18:53:20.750 No users found.
. 2008-08-05 18:53:20.750 Getting current directory name.
> 2008-08-05 18:53:20.750 pwd ; echo "WinSCP: this is end-of-file:$?"
< 2008-08-05 18:53:20.765 /home/jkunze
< 2008-08-05 18:53:20.765 WinSCP: this is end-of-file:0
. 2008-08-05 18:53:20.765 Listing current directory.
> 2008-08-05 18:53:20.781 ls -la --full-time ; echo "WinSCP: this is end-of-file:$?"
< 2008-08-05 18:53:20.859 total 8
< 2008-08-05 18:53:20.859 drwxr-sr-x  2 jkunze users 4096 2008-05-14 01:14:41.000000000 +0200 .
< 2008-08-05 18:53:20.859 drwxr-xr-x  5 root   root  4096 2008-02-20 13:53:57.000000000 +0100 ..
< 2008-08-05 18:53:20.875 WinSCP: this is end-of-file:0
* 2008-08-05 18:53:20.906 (ETerminal) Unerwartete Zeile in Verzeichnisliste "total 8".
* 2008-08-05 18:53:20.906 Ungültige Rechte Beschreibung '[0mtotal '
. 2008-08-05 18:53:20.906 Directory listing with --full-time failed, try again regular listing.
. 2008-08-05 18:53:20.906 Listing current directory.
> 2008-08-05 18:53:20.906 ls -la  ; echo "WinSCP: this is end-of-file:$?"
< 2008-08-05 18:53:20.937 total 8
< 2008-08-05 18:53:20.937 drwxr-sr-x  2 jkunze users 4096 May 14 01:14 .
< 2008-08-05 18:53:20.937 drwxr-xr-x  5 root   root  4096 Feb 20 13:53 ..
< 2008-08-05 18:53:20.953 WinSCP: this is end-of-file:0
* 2008-08-05 18:53:21.390 (ECommand) Fehler beim Anzeigen des Verzeichnisses "/home/jkunze".
* 2008-08-05 18:53:21.390 Unerwartete Zeile in Verzeichnisliste "total 8".
* 2008-08-05 18:53:21.390 Ungültige Rechte Beschreibung '[0mtotal '
. 2008-08-05 18:53:22.640 Startup conversation with host finished.
. 2008-08-05 18:53:26.640 Closing connection.

Hope this helps.
martin

Re: WinSCP Connection Error with Linksys NSLU2

Can you post a log file both from 4.0.7 and 4.1.5?
jkunze

WinSCP Connection Error with Linksys NSLU2

Hi,

I'm using WinSCP with a NSLU2 from Linksys. With version 4.0.7 it worked perfectly. But since I upgraded to version 4.1.5 it doesn't work anymore. When I log in, I get the Error Message:

Unexpected directory listing line 'total 8'.
Invalid rights description '[0mtotal '

I don't see any files in the listview. And if i enter 'ls' in the terminal window I get:

/$ ls
bin
dev
etc
home
initrd
lib
lost+found
media
mnt
opt
proc
root
sbin
share
srv
sys
tmp
usr
var


There seem's to be a charset problem or something.
The server and protol information are:


Remote system = Linux nslu2 2.6.21.7 #1 PREEMPT Mon Dec 24 23:12:24 UTC 2007 armv5teb unknown unknown GNU/Linux
Session protocol = SSH-2
SSH implementation = OpenSSH_4.6
Encryption algorithm = aes
Compression = No
File transfer protocol = SCP
------------------------------------------------------------
Server host key fingerprint
ssh-rsa 2048 xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx <- deleted this information
------------------------------------------------------------
Can change permissions = Yes
Can change owner/group = Yes
Can execute arbitrary command = Yes
Can create symlink/hardlink = Yes/Yes
Can lookup user groups = Yes
Can duplicate remote files = Yes
Can check available space = No
Can calculate file checksum = No
Native text (ASCII) mode transfers = No


I hope you can help me, because I like this piece of software, and use it for all my (S)FTP and SCP stuff. :P

Jens