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

Solution

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

Re: Unexpected directory listing line

whgoh wrote:

Hi, I get this error as soon as I connect to the remote pc:

Unexpected directory listing line "drwxr-xr-x 4 wen-han 2048 Jun 21 2002 .".
Operation aborted

It appears to be reading the /. directory. Any ideas on how to correct this?


don't know exactly what's going wrong ... but i've seen the "phenomenae" disappear after i've changed my login shell (using chsh) from tcsh to bash (of course only temporarily) ... perhaps some alias settings in my .tcshrc upset winscp ?!
... sort'a work-around
martin

Re: Unexpected directory listing line

After set alias ls 'ls -lag'
The ERROR still
Unexpected directory listing line "drwx------ 9 alan life 1024 5 9 16:14 ./".
Operation aborted

There's another problem with unusual format of the date. I don't know how to solve this.
Guest

Re: Unexpected directory listing line

Anonymous wrote:

Guest wrote:

I'm getting the exact samer error. I can't tell what the source is, but on the chance that it had to do with there not being a group listing as part of the ls -la response I clicked on the "Alias LS to display group name" option... but that didn't seem to help at all...

Looks like a really nice client... I hope I can get it to work.


Yes, clicking on the "Alias LS..." option did not help
me as well, but you can go to "Open terminal" and
execute "alias ls 'ls -lag'" by hand. After you close
the terminal window, listing a directory should work.

Worked for me...


After set alias ls 'ls -lag'
The ERROR still
Unexpected directory listing line "drwx------ 9 alan life 1024 5 9 16:14 ./".
Operation aborted
Guest

Re: Unexpected directory listing line

Guest wrote:

I'm getting the exact samer error. I can't tell what the source is, but on the chance that it had to do with there not being a group listing as part of the ls -la response I clicked on the "Alias LS to display group name" option... but that didn't seem to help at all...

Looks like a really nice client... I hope I can get it to work.


Yes, clicking on the "Alias LS..." option did not help
me as well, but you can go to "Open terminal" and
execute "alias ls 'ls -lag'" by hand. After you close
the terminal window, listing a directory should work.

Worked for me...
martin

Re: Unexpected directory listing line

WinSCP requires group name in directory listing. Please read Requirements. Or wait for SFTP support :-)
Guest

Re: Unexpected directory listing line

I'm getting the exact samer error. I can't tell what the source is, but on the chance that it had to do with there not being a group listing as part of the ls -la response I clicked on the "Alias LS to display group name" option... but that didn't seem to help at all...

Looks like a really nice client... I hope I can get it to work.
whgoh

Unexpected directory listing line [333]

Hi, I get this error as soon as I connect to the remote pc:

Unexpected directory listing line "drwxr-xr-x 4 wen-han 2048 Jun 21 2002 .".
Operation aborted

It appears to be reading the /. directory. Any ideas on how to correct this?