Page 1 of 1

FTP plugin can't parse IBM site

Posted: 30 Aug 2011, 16:32
by Jan Patera
I am trying to download some updates from ftp://public.dhe.ibm.com/software/rational/clearcase, but the FTP client can't parse the listing of the rational folder.
I tried various UNIX and IBM types, but no luck :-(
Perhaps the problem is in line "drwxr-s--x1214 102004493 533 102400 Aug 30 05:42 private"?

Re: FTP plugin can't parse IBM site

Posted: 30 Aug 2011, 17:45
by Slanec
Maybe is Salamander trying to protect you from ClearCase :wink:

Re: FTP plugin can't parse IBM site

Posted: 30 Aug 2011, 18:00
by Slanec
But seriously - my Salamander (2.54 EN, Win XP 32-bit SP 3 EN) has no problem with listing the Rational folder. The only problem is the Private folder, but that would be because it's private, right?

Re: FTP plugin can't parse IBM site

Posted: 31 Aug 2011, 10:00
by Jan Patera
Slanec wrote:But seriously - my Salamander (2.54 EN, Win XP 32-bit SP 3 EN) has no problem with listing the Rational folder. The only problem is the Private folder, but that would be because it's private, right?
I wonder how you did it. AS 2.54 EN, FTP 1.32. With autodetected server type, I am even getting inconsistent results on root folder.

Re: FTP plugin can't parse IBM site

Posted: 31 Aug 2011, 10:53
by Slanec
Jan Patera wrote:I wonder how you did it.
Ctrl+Shift+F (as expected), copypaste the address into Quick Connect with default setting (see picture attached), hit Enter. No hidden magic, I believe.
I tried to play with the server for a while, but I haven't encountered any problem so far.

Re: FTP plugin can't parse IBM site

Posted: 31 Aug 2011, 12:22
by Jan Patera
Slanec wrote:
Jan Patera wrote:I wonder how you did it.
Ctrl+Shift+F (as expected), copypaste the address into Quick Connect with default setting (see picture attached), hit Enter. No hidden magic, I believe.
I tried to play with the server for a while, but I haven't encountered any problem so far.
Hmm, I should have posted the problematic URL and not the URL I wanted to get in: I was complaining about the rational folder, but the URL ends with clearcase. So, can you list ftp://public.dhe.ibm.com/software/rational ?

Re: FTP plugin can't parse IBM site

Posted: 31 Aug 2011, 12:30
by Slanec
Don't worry, I got that one. I tried to list many of the associated folders there, including the problematic one (both directly through url and nondirectly through navigating through the server). All of them work as expected.

Someone else to confirm any of our versions?

Re: FTP plugin can't parse IBM site

Posted: 31 Aug 2011, 13:46
by th.
I'm getting the same results as Jan.

Re: FTP plugin can't parse IBM site

Posted: 31 Aug 2011, 17:14
by Slanec
What can I say?

Windows XP SP3 EN 32-bit
Altap Salamander 2.54 EN
FTP plugin 1.32

Can FTP plugin configuration play any role? I believe it can - mine is default (I think...). What else could be causing any trouble?

Re: FTP plugin can't parse IBM site

Posted: 31 Aug 2011, 18:16
by therube
(I'm confused as to what you are seeing or not seeing or can or cannot do.)

Anyhow, I seem to have no issues, except for the Private directory (cannot be listed).
I cannot get the strange looking Date_Name combo listing like Jan posted.

Suppose they use a server farm?
Suppose they may also send you to a particular set based on locale?
So that may be part of the differences seen?

Re: FTP plugin can't parse IBM site

Posted: 04 Sep 2011, 21:33
by Ether
Is your Salamander set up to use a FTP proxy?

Re: FTP plugin can't parse IBM site

Posted: 04 Sep 2011, 22:34
by Petr Solin
Jan Patera wrote:Perhaps the problem is in line "drwxr-s--x1214 102004493 533 102400 Aug 30 05:42 private"?
Yes, there is missing space after "rights" column: "drwxr-s--x1214" should be "drwxr-s--x 1214".

When I try to connect to this server, it works well, because it sends me this line correctly with space:
"drwxr-s--x 1206 17037 209 94208 Sep 4 00:42 private".

It's possible to patch UNIX1 parser to bypass this error in listing but I'm not sure if it is good idea. It's rare and it can cause troubles with parsing other listings.

Re: FTP plugin can't parse IBM site

Posted: 05 Sep 2011, 07:23
by Jan Patera
Ether wrote:Is your Salamander set up to use a FTP proxy?
Right. I was behind firewall. Now from home it is OK.

Re: FTP plugin can't parse IBM site

Posted: 05 Sep 2011, 07:24
by Jan Patera
Petr Solin wrote:
Jan Patera wrote:Perhaps the problem is in line "drwxr-s--x1214 102004493 533 102400 Aug 30 05:42 private"?
It's possible to patch UNIX1 parser to bypass this error in listing but I'm not sure if it is good idea. It's rare and it can cause troubles with parsing other listings.
I would go for it. At least some heuristics could be done, IMHO.