Unexpected directory listing line [333]

Advertisement

whgoh
Joined:
Posts:
1

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?

Reply with quote

Advertisement

Guest
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.

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
29,815
Location:
Prague, Czechia

Re: Unexpected directory listing line

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

Reply with quote

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...

Reply with quote

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

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
29,815
Location:
Prague, Czechia

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.
_________________
Martin Prikryl

Reply with quote

guest
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

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
29,815
Location:
Prague, Czechia

Solution

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

Reply with quote

Advertisement

You can post new topics in this forum