Topic "Error listing directory - Unexpected directory listing line"

Author Message
Blakevh

Guest


The following error is being displayed and no files show up in the remote directory list.

Code:
Error listing directory "/home/qcdnd".

Unexpected directory listing line "drwxr-xr-x   6 qcdnd         512 May 12 14:48 .".
Operation aborted


I am using WinSCP Version 3.3.0 (Build 177) and connection to a Solaris 2.7 box. The connection is being made in SCP mode. The server does not have SFTP enabled (I did try.)

Could it be that WinSCP is expecting the group to be included with an LS -l command, and on Solaris this is not the default?

Thanks, -blake
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
Blakevh wrote:
Could it be that WinSCP is expecting the group to be included with an LS -l command, and on Solaris this is not the default?

Yes, WinSCP needs the group name.
_________________
Martin Prikryl
Guest




prikryl wrote:
Yes, WinSCP needs the group name.


On Solaris the group may be included in a listing by doing an
Code:
ls -lg
. This may be the wrong question, but is there any setting in WinSCP to customize the directory listing command that it uses?

Thanks, -blake
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
Anonymous wrote:
This may be the wrong question, but is there any setting in WinSCP to customize the directory listing command that it uses?

There is an option "Alias LS to display group name" on SCP tab of login dialog.
_________________
Martin Prikryl
Guest




prikryl wrote:
Anonymous wrote:
This may be the wrong question, but is there any setting in WinSCP to customize the directory listing command that it uses?

There is an option "Alias LS to display group name" on SCP tab of login dialog.


Checking that and switching the shell to /bin/ksh seemed to do the trick.

Thanks, -blake
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
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