Opened 21 years ago

Last modified 21 years ago

#537 closed Bug report

Parsing of LIST response fails for Connect:Enterprise server

Reported by: anonymous Owned by:
Priority: normal Component: Other
Keywords: Cc: Tim Kosse
Component version: Operating system type:
Operating system version:

Description

Version 2.2.3 cannot correctly parse the response to the
LIST command if the server is Connect:Enterprise for
UNIX.

Each line looks something like this (please excuse the
word wrapping):
-C--E-----FTP B BCC3I1 7670 1294495 Jan 13
07:42 B0702SYI.00323NXL.PGP

I attach a log file.

In the above example, it thinks that "07:42
B0702SYI.00323NXL.PGP" is the file name, whereas in
fact the file name is "B0702SYI.00323NXL.PGP"
and "07:42" is the time.

Version 2.1.7 was able to parse the response correctly.
That's why I liked FileZilla so much. Many other FTP
clients fail to parse this response correctly, which is why
I chose FileZilla.

In other words, this "broke" somewhere between
versions 2.1.7 and 2.2.3, but I don't see anything in the
Change Log that would explain it.

Thanks,

Paul Baker
Senior Developer
BCC Software, Inc.

Attachments (1)

fzlog.rtf (5.1 KB ) - added by nobody 21 years ago.
FileZilla log file

Download all attachments as: .zip

Change History (8)

by nobody, 21 years ago

Attachment: fzlog.rtf added

FileZilla log file

comment:1 by Tim Kosse, 21 years ago

Apparently I did break support for this type of directory
listing while adding support for some other types of
directory listing.
Could you please explain what the following fields of the
directory listing mean, so that I can parse them correctly?
If approriate, post a list of all possible values for each
field.
-C--E-----FTP Is the FTP suffix always attached to this field?
B, BCC311 and 7670

comment:2 by anonymous, 21 years ago

Logged In: NO

I tried to create a new account so that I can log in, but I
never receive the confirmation email so I cannot use my
account.

If you need to contact me, the email address is
paul_b@…, and I assure you that it works.

comment:3 by anonymous, 21 years ago

Logged In: NO

I don't know what the exact format is. Connect:Enterprise for
UNIX is the server software one of our business partners
chose to use. If it were up to me, they wouldn't use it!

I think this is the vendors product page, maybe it can help:

http://www.sterlingcommerce.com/solutions/connectenterpris
e/index.html

Here is a typical line:

-C--E-----FTP B BCC3I1 7670 1294495 Jan 13
07:42 B0702SYI.00323NXL.PGP

-C--E-----FTP looks like permissions to me. It does always
end in FTP, but I don't know why.

I have no idea what the B is, as far as I'm concerned it can
be ignored.

BCC3I1 is definitely the owner. It's actually our user name,
and I see it set to other names that sound like users
sometimes.

I have no idea what 7670 is, as far as I'm concerned it can be
ignored. It could be related to the fact that this FTP server
seems to think that files are "batches" not files and this is the
batch size or something?? I never quite figured out what a
batch is.

The rest appears to be the date/time and name, as I think
you know.

Version 2.1.7 did what I would expect perfectly.

It sucks that the response to the LIST command is supposed
to be human-readable and has no pre-defined format, even
though it is often a computer reading it. Given that, I don't
why so many FTP server software products take liberties with
it instead of just using the UNIX standard. Ironic, isn't it, that
we are both humans reading it and it is not even readable to
us because we don't know for sure what half the stuff means.

BTW, I saw the parsing code. Very long!

Thanks,

Paul

comment:4 by Tim Kosse, 21 years ago

Please try the latest beta version, you can download it from
http://filezilla.sourceforge.net/FileZilla_setup.exe

comment:5 by anonymous, 21 years ago

Logged In: NO

Yes, this version worked great!

In case you didn't know:

In the setup program, it is labeled as 2.2.3a.

In ther version info and Help/About it is labeled 2.2.4.1 and
2.2.4 beta 1 respectively.

Thanks,

Paul

comment:6 by anonymous, 21 years ago

Logged In: NO

Yes, that version worked great!

In case you didn't know:

In the Setup, it is labeled version 2.2.3a.

In the version info and Help/About, it is labeled version
2.2.4.1 and 2.2.4 beta 1 respectively.

Thanks,

Paul

comment:7 by anonymous, 21 years ago

Logged In: NO

Sorry, is there a delay in comments showing up? I thought
the first one failed so I added a duplicate.

Paul

Note: See TracTickets for help on using tickets.