Bug with "old" Files

Advertisement

Baily
Guest

Bug with "old" Files

Hi,

I'm using on the Client Side Windows XP and on the Remote Side FreeBSD 4.10

Remote unix system information (uname -a):
FreeBSD zeus 4.10-STABLE FreeBSD 4.10-STABLE #34: Thu May 27 14:37:26 CEST 2004 root@zeus:/usr/obj/usr/src/sys/ZEUS i386

When I connect to the remote machine I receive the error Message:

Error listing directory '/usr/home/oliver'

Unexpected directory listing line
'drwxr-xr-x 2 oliver wheel 512 28 Nov 2001 .crypt'.
'2001 .' is not a valid integer value.

So it looks like a problem in the parser.
Its a bad thing because the parser stops to parse the remaining files.

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
27,226
Location:
Prague, Czechia

Re: Bug with "old" Files

It is not an error, it is unsupported format of the directory listing. You have swapped month and day.

Anyway you should better use SFTP protocol. SCP is obsolete.
_________________
Martin Prikryl

Reply with quote

Guest

Re: Bug with "old" Files

martin wrote:


Anyway you should better use SFTP protocol. SCP is obsolete.

Why is SCP obsolete? It's a good and secure method to transfer files. Why is the name of your Program winSCP if its obsolete??

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
27,226
Location:
Prague, Czechia

Re: Bug with "old" Files

Why is SCP obsolete? It's a good and secure method to transfer files. Why is the name of your Program winSCP if its obsolete??
SCP is stupid protocol, that's all. It supports only file transfers, nothing else. There is no specification and most implementation have bugs preventing the automation and good GUI clients implementation. Even WinSCP must close the connection in many situations, because there is not other way how to recover from some errors. It may also be insecure due to its bad design (downloads are server-driven, which is generally bad idea). I can continue, but I do not have time.

Problem is that in its time, SCP was the only option. First version of WinSCP supported only SCP, because SFTP was not used then, that's explains the name.
_________________
Martin Prikryl

Reply with quote

Guest

Re: Bug with "old" Files

martin wrote:

I can continue, but I do not have time.
Would it be possible to support this date format so that I can use winscp with FreeBSD or is it possible that I can specify the format that ls is printing.
Or do you have any Idea how to change the ls that it prints the winscp supported format. And what is the winscp specific and supported format?

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
27,226
Location:
Prague, Czechia

Re: Bug with "old" Files

Anonymous wrote:

Would it be possible to support this date format so that I can use winscp with FreeBSD or is it possible that I can specify the format that ls is printing.
Or do you have any Idea how to change the ls that it prints the winscp supported format. And what is the winscp specific and supported format?
I'll consider support for swapped month and day in ls directory listing.
I do not know how to force ls to display directory listing in standard way.
_________________
Martin Prikryl

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
27,226
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