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

andrewfn

Solution to this problem

This problem is caused by newer versions of Gnome which have a .gvfs entry (gnome virtual filing system) that generates a lot of ???? instead of the time stamp.
You can make winscp ignore this by changing the default command from:
ls -la
to
ls -la -I .gvfs
(the -I means ignore)
Simon

Yeah, you're right actually. However, even after changing to SCP explicitly and unchecking those boxes you suggested in your docs, i do still get the error.
I can't see why i got on this machine at work an german output, but not on my machine at home...
Thanks,
Simon
martin

Simon wrote:

Please note: you cannot uncheck "Clear national variables" because these checkboxes are disabled at startup.

The checkbox is available if you select SCP protocol explicitly only. Now you have selected SFTP with SCP fallback probably.
Simon

Got it solved so far:
- Running winscp423.exe on WinXP Pro.
- start winscp and wait for the error to occur.
- Click Options->Command Line
- Enter "setenv LANG " (including the space character!)
- Close the new window appearing.
- That should be it.

Please note: you cannot uncheck "Clear national variables" because these checkboxes are disabled at startup.
Simon

Re: Error listing directory - BUG

Sorry, i have to add: i use the currently available winscp version and i connect to a remote server on which i have no rights to change the local properties. Actually i am sure this is a client side issue, because at home i use winscp423 without any problems...
Simon

Re: Error listing directory - BUG

martin wrote:

WinSCP requires English environment. Read Requirements.

Yeah I read about that. But may you explain us how to solve this problem correctly. I stuck at the point where I should "untick Clear national variables". So I can't use your program on this system because no one has a solution for it...
Simon
martin

Solution

For list of reasons WinSCP cannot parse directory listing and possible resolutions, see documentation.
dsoltesz

Error listing directory/bash v. tcsh

I was having the same problem after upgrading my systems to SuSE 8.1, where I'm able to log in as root (bash) without incident, but any other user (tcsh) has problems:

"Error listing directory "/work1/www/webman".
Unexpected directory listing line "drwxr-xr-x 10 webman www 1176 2003-02-10 00:00 .".
Operation aborted"

My solution (as recommended in the Requirements) was to set the shell bash in the WinSCP session preference. The only difference between the two shells is the date format.

deborah
martin

Re: Error listing directory - BUG

drache wrote:

the same problem appears with SuSE-Linux 8.1 Server
WinSCP generates the command ls -al and cannot interprete the first line:
Error listing directory "/".
Unexpected directory listing line "insgesamt 144".
Invalid rights description "nsgesamt "

WinSCP requires English environment. Read Requirements.
martin

Re: Error listing directory with WinSCP2 and SUNOS

hullu wrote:

Error listing directory "/home/oppilaat/01/kijuhe00".
Unexpected directory listing line "drwxr-xr-x 26 kijuhe00 2560 Feb 8 00:59 .".
Operation aborted

WinSCP requires group name in directory listing. Read Requirements.
drache

Error listing directory - BUG

the same problem appears with SuSE-Linux 8.1 Server
WinSCP generates the command ls -al and cannot interprete the first line:
Error listing directory "/".
Unexpected directory listing line "insgesamt 144".
Invalid rights description "nsgesamt "

ls -al:
bi /> ls -al
insgesamt 144
drwxr-xr-x 20 root root 4096 Dez 13 09:52 .
drwxr-xr-x 20 root root 4096 Dez 13 09:52 ..
drwxr-xr-x 2 root root 4096 Apr 18 2002 .qt
-rw-r--r-- 1 root root 19553 Apr 18 2002 .xftcache
....
Guest

drwxr-xr-x 26 kijuhe00 oppilaat 2560 Feb 8 00:59 .
drwxr-xr-x 628 root other 13312 Nov 14 12:54 ..
-rw------- 1 kijuhe00 oppilaat 12303 Oct 16 08:05 .TTauthority
-rw------- 1 kijuhe00 oppilaat 8588 Oct 16 08:05 .Xauthority
-rw-r----- 1 kijuhe00 oppilaat 0 Aug 27 2001 .addressbook
-rw------- 1 kijuhe00 oppilaat 2285 Aug 27 2001 .addressbook.lu
-rw------- 1 kijuhe00 oppilaat 10 Nov 24 00:57 .bash_history
-rw-r----- 1 kijuhe00 oppilaat 124 Jun 5 2001 .bashrc
-rw-r----- 1 kijuhe00 oppilaat 959 May 14 2002 .cshrc
drwxr-xr-x 15 kijuhe00 oppilaat 512 Oct 16 10:15 .dt
-rwxr-xr-x 1 kijuhe00 oppilaat 5111 Aug 28 2001 .dtprofile
-rw------- 1 kijuhe00 oppilaat 727 Feb 8 01:03 .history
drwxr-xr-x 3 kijuhe00 oppilaat 512 Feb 26 2002 .iiim
-rw-r----- 1 kijuhe00 oppilaat 25 Feb 24 2002 .ircrc
drwx------ 2 kijuhe00 oppilaat 512 Feb 24 2002 .irssi
drwxr-xr-x 2 kijuhe00 oppilaat 512 Apr 24 2002 .java
-rw-r----- 1 kijuhe00 oppilaat 155 Jan 15 2002 .login
drwxr-x--- 2 kijuhe00 oppilaat 512 Feb 6 16:47 .ncftp
-rw-r----- 1 kijuhe00 oppilaat 131 Nov 26 2001 .newsrc
-rw------- 1 kijuhe00 oppilaat 16285 Nov 20 2001 .newsrc-news
-rw------- 1 kijuhe00 oppilaat 10095 Feb 7 20:36 .pine-debug1
-rw------- 1 kijuhe00 oppilaat 9790 Feb 7 16:10 .pine-debug2
-rw------- 1 kijuhe00 oppilaat 10095 Feb 7 12:57 .pine-debug3
-rw------- 1 kijuhe00 oppilaat 10107 Feb 6 21:58 .pine-debug4
-rw------- 1 kijuhe00 oppilaat 6040 Jan 6 22:08 .pine-interrupted-mail
-rw-r----- 1 kijuhe00 oppilaat 14589 Feb 1 16:13 .pinerc
-rwxr-xr-x 1 kijuhe00 oppilaat 78 Dec 3 2001 .plan
-rw-r----- 1 kijuhe00 oppilaat 3812 Jun 5 2001 .screenrc
-rw-r--r-- 1 kijuhe00 oppilaat 95 Sep 3 11:30 .signature
drwxr-xr-x 2 kijuhe00 oppilaat 512 Aug 28 2001 .solregis
drwxr-xr-x 2 kijuhe00 oppilaat 512 Aug 27 10:17 .ssh
-rw------- 1 kijuhe00 oppilaat 1733014 Sep 22 23:14 150978_Highschool.zip
-rw------- 1 kijuhe00 oppilaat 17185 Aug 16 23:36 4NT_v4[1].01a.zip
-rwx------ 1 kijuhe00 oppilaat 531 Oct 9 1998 DIRCOLOR
-rw------- 1 kijuhe00 oppilaat 269651 Oct 8 13:54 Redesign.zip
-rwx------ 1 kijuhe00 oppilaat 6764 Sep 11 11:22 a.out
-rw------- 1 kijuhe00 oppilaat 4480 Dec 3 19:14 addon_ffautoreply.cfg
-rw------- 1 kijuhe00 oppilaat 3391 Dec 1 00:31 addon_trustedplayer.cfg
-rw------- 1 kijuhe00 oppilaat 101604 Jan 28 18:39 adminmod-cvs-snapshot.tgz
-rw------- 1 kijuhe00 oppilaat 2315 Oct 7 21:00 ahl_varrock.mat
-rw------- 1 kijuhe00 oppilaat 4895 Oct 9 08:58 ahl_varrock.txt
drwx------ 3 kijuhe00 oppilaat 1024 Apr 29 2002 autocad
-rw-r--r-- 1 kijuhe00 oppilaat 270354 Nov 19 12:14 bochs-2.0-pre1.rar
-rw------- 1 kijuhe00 oppilaat 35682 Aug 23 12:42 booster_mm-1.36.zip
-rw-r--r-- 1 kijuhe00 oppilaat 2748 Jan 16 22:54 buildwc.nsi
drwxr-xr-x 2 kijuhe00 oppilaat 512 Oct 1 15:13 c++-kieli
-rw-r--r-- 1 kijuhe00 oppilaat 48128 Jan 5 22:58 cdmod_i386.so.bz2
lrwxrwxrwx 1 kijuhe00 oppilaat 15 Jul 19 2002 chatti -> irssi/bin/irssi
drwxr-xr-x 3 kijuhe00 oppilaat 512 Oct 9 08:25 checkout
-rwx------ 1 kijuhe00 oppilaat 37 Feb 1 2000 chkmail
-rw------- 1 kijuhe00 oppilaat 202989 Jan 11 00:23 clanmod-1.81.12-bins.zip
hullu

Error listing directory with WinSCP2 and SUNOS

Error listing directory "/home/oppilaat/01/kijuhe00".

Unexpected directory listing line "drwxr-xr-x  26 kijuhe00     2560 Feb  8 00:59 .".
Operation aborted


Here's small sample of 'ls ~':
drwxr-xr-x  26 kijuhe00     2560 Feb  8 00:59 ./

drwxr-xr-x 628 root        13312 Nov 14 12:54 ../
-rw-------   1 kijuhe00    12303 Oct 16 08:05 .TTauthority
-rw-------   1 kijuhe00     8588 Oct 16 08:05 .Xauthority
-rw-r-----   1 kijuhe00        0 Aug 27  2001 .addressbook
-rw-------   1 kijuhe00     2285 Aug 27  2001 .addressbook.lu
-rw-------   1 kijuhe00       10 Nov 24 00:57 .bash_history
-rw-r-----   1 kijuhe00      124 Jun  5  2001 .bashrc
-rw-r-----   1 kijuhe00      959 May 14  2002 .cshrc
drwxr-xr-x  15 kijuhe00      512 Oct 16 10:15 .dt/
-rwxr-xr-x   1 kijuhe00     5111 Aug 28  2001 .dtprofile*
-rw-------   1 kijuhe00      727 Feb  8 00:59 .history
drwxr-xr-x   3 kijuhe00      512 Feb 26  2002 .iiim/
-rw-r-----   1 kijuhe00       25 Feb 24  2002 .ircrc
drwx------   2 kijuhe00      512 Feb 24  2002 .irssi/
drwxr-xr-x   2 kijuhe00      512 Apr 24  2002 .java/
-rw-r-----   1 kijuhe00      155 Jan 15  2002 .login
drwxr-x---   2 kijuhe00      512 Feb  6 16:47 .ncftp/
-rw-r-----   1 kijuhe00      131 Nov 26  2001 .newsrc
-rw-------   1 kijuhe00    16285 Nov 20  2001 .newsrc-news
-rw-------   1 kijuhe00    10095 Feb  7 20:36 .pine-debug1
-rw-------   1 kijuhe00     9790 Feb  7 16:10 .pine-debug2
-rw-------   1 kijuhe00    10095 Feb  7 12:57 .pine-debug3
-rw-------   1 kijuhe00    10107 Feb  6 21:58 .pine-debug4
-rw-------   1 kijuhe00     6040 Jan  6 22:08 .pine-interrupted-mail
-rw-r-----   1 kijuhe00    14589 Feb  1 16:13 .pinerc
-rwxr-xr-x   1 kijuhe00       78 Dec  3  2001 .plan*
-rw-r-----   1 kijuhe00     3812 Jun  5  2001 .screenrc
-rw-r--r--   1 kijuhe00       95 Sep  3 11:30 .signature
drwxr-xr-x   2 kijuhe00      512 Aug 28  2001 .solregis/
drwxr-xr-x   2 kijuhe00      512 Aug 27 10:17 .ssh/
-rw-------   1 kijuhe00  1733014 Sep 22 23:14 150978_Highschool.zip
-rw-------   1 kijuhe00    17185 Aug 16 23:36 4NT_v4[1].01a.zip
-rwx------   1 kijuhe00      531 Oct  9  1998 DIRCOLOR*
-rw-------   1 kijuhe00   269651 Oct  8 13:54 Redesign.zip
-rwx------   1 kijuhe00     6764 Sep 11 11:22 a.out*
-rw-------   1 kijuhe00     4480 Dec  3 19:14 addon_ffautoreply.cfg
-rw-------   1 kijuhe00     3391 Dec  1 00:31 addon_trustedplayer.cfg
-rw-------   1 kijuhe00   101604 Jan 28 18:39 adminmod-cvs-snapshot.tgz
-rw-------   1 kijuhe00     2315 Oct  7 21:00 ahl_varrock.mat
-rw-------   1 kijuhe00     4895 Oct  9 08:58 ahl_varrock.txt
drwx------   3 kijuhe00     1024 Apr 29  2002 autocad/
-rw-r--r--   1 kijuhe00   270354 Nov 19 12:14 bochs-2.0-pre1.rar
-rw-------   1 kijuhe00    35682 Aug 23 12:42 booster_mm-1.36.zip
-rw-r--r--   1 kijuhe00     2748 Jan 16 22:54 buildwc.nsi
drwxr-xr-x   2 kijuhe00      512 Oct  1 15:13 c++-kieli/
-rw-r--r--   1 kijuhe00    48128 Jan  5 22:58 cdmod_i386.so.bz2
lrwxrwxrwx   1 kijuhe00       15 Jul 19  2002 chatti -> irssi/bin/irssi*
drwxr-xr-x   3 kijuhe00      512 Oct  9 08:25 checkout/
-rwx------   1 kijuhe00       37 Feb  1  2000 chkmail*
-rw-------   1 kijuhe00   202989 Jan 11 00:23 clanmod-1.81.12-bins.zip