Topic "Unexpected directory listing line"

Author Message
rshubert
[View user's profile]

Joined: 2011-12-03
Posts: 1
I am running WinSCP 4.3.5 on a 64-bit Windows 7 platform to connect to a remote UNIX-based machine. Connection appears prompt and normal except for the error message in a pop-up window concerning the remote host:

"Unexpected directory listing line 'drwxr-xr-x 42 rshubert 2328 Nov 27 19:19' "

The same behavior occurs at each start of a new session.

When clicking OK in the above pop-up error window the normal WinSCP window showing panes of the local and remote directory listings appears.

However, although the contents of all the local directories are shown normally in the left pane of the window, the file contents of the directory on the remote machine in the right pane is not shown. The correct directory (authorized for my use and works normally via PuTTy or a command-line 'ftp' connection) appears to have been reached on the remote machine, so that there may be a problem with permissions or something minor such as that.

I like the Win SCP utility for its simplicity of operation, but I am unable after some effort to fix the apparent problem in order to enable it to show the remote directory files so that I may begin copying or downloading those files to a local drive.

I would greatly appreciate your help if you know the answer. Any ideas?

With thanks,

Richard
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
I'm afraid, there's no group name in the directory listing.
I suppose you are using SCP. Can you try switching to SFTP?
Alternativelly, there may be a switch that forces the ls command on your server to pront the group name. You can add the switch to the Listing command:
http://winscp.net/eng/docs/ui_login_scp
tMH

Guest


Dear author, I think I did found why WinSCP FAR plugin gives out error like that.

If you look closely at screenshot I attached here you will see that plugin complains about "." (dot) at the end of permission flags.
This is because DOT IS THERE:
drwxrwxr-x. 3 tmh tmh 4096 2012-08-21 14:46 321/

- and that dot is security.selinux stuff.

Here is the urls:
http://ubuntuforums.org/showthread.php?t=1314425 - about that dot.
http://ubuntuforums.org/showthread.php?t=1315684 - how to remove that selinux.

Anyway, could you please make corrections to WinSCP FAR plugin so it will accept all dots in listing Smile Thanks in advance!

-t
winscp-far-dirlist-error.gif (2.34 KB)

Description: screenshot

winscp-far-dirlist-error.gif

martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
Try using Far-NetBox
https://github.com/michaellukashov/Far-NetBox/
_________________
Martin Prikryl
tMH

Guest


Looks like that NetBox is a little bit lame comparing to WinSCP plugin, but thanks for suggestion:)

Anyway, Martin, please fix this error with "." in the end of permissions list, I think many ppl will be happy about it!

Thank You!
-t
michael.lukashov
[View user's profile]
Developer
Joined: 2012-03-07
Posts: 1
Location: Moscow, Russia
tMH wrote:
Looks like that NetBox is a little bit lame comparing to WinSCP plugin, but thanks for suggestion:)
-t


o_O Why you think it is lame? What version did you try?
tMH

Guest


michael.lukashov wrote:
tMH wrote:
Looks like that NetBox is a little bit lame comparing to WinSCP plugin, but thanks for suggestion:)
-t


o_O Why you think it is lame? What version did you try?


I said "a little bit" Wink Anyway, prikryl, I lurked through the pages to see "how to remove that selinux" and did find what ppl telling "Disabling it is really not recommended. Far better to take the time to understand it and work with it than to remove an important feature that might stop you from being hacked in the future."

Please, can you apply some fix for this "new" selunux'ed dot'ted ls -lar output? Thanks!!!
tMH
[View user's profile]

Joined: 2012-09-19
Posts: 1
Location: Moscow, Russia
tMH wrote:
I said "a little bit" Wink Anyway, prikryl, I lurked through the pages to see "how to remove that selinux" and did find what ppl telling "Disabling it is really not recommended. Far better to take the time to understand it and work with it than to remove an important feature that might stop you from being hacked in the future."
Please, can you apply some fix for this "new" selunux'ed dot'ted ls -lar output? Thanks!!!


Martin, PLEASE, add this selinux DOTTED feature to WinSCP/FAR plugin!
I am really tired to run winscp all the time when I can simple use ALT+F1+ENTER in FAR.

.. If you're silently insist to make donation for this one - just tell me - and I'll drop some money because this fix (will be) a nice feature to have it at all!

-t.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
tMH wrote:
Martin, PLEASE, add this selinux DOTTED feature to WinSCP/FAR plugin!
I am really tired to run winscp all the time when I can simple use ALT+F1+ENTER in FAR.

Try switching to NetBox:
https://github.com/michaellukashov/Far-NetBox
_________________
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