Topic "Unexpected directory listing line [333]"

Author Message
whgoh
[View user's profile]

Joined: 2003-04-25
Posts: 1
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?
Advertisements
Guest

Guest


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.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24993
Location: Prague, Czechia
WinSCP requires group name in directory listing. Please read Requirements. Or wait for SFTP support Smile
_________________
Martin Prikryl
Guest




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




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
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24993
Location: Prague, Czechia
Quote:
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
guest

Guest


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
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24993
Location: Prague, Czechia
For list of reasons WinSCP cannot parse directory listing and possible resolutions, see documentation.
_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License