Bug 50000 - ftp fails to reconnect
Summary: ftp fails to reconnect
Status: RESOLVED FIXED
Alias: None
Product: kio
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Mandrake RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: David Faure
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-10-31 18:40 UTC by Jan Halasa
Modified: 2003-12-06 08:13 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Halasa 2002-10-31 18:40:04 UTC
Version:            (using KDE KDE 3.0.4)
Installed from:    Mandrake RPMs
Compiler:          gcc3.2 
OS:          Linux

Hello,

when I try to connect to authenticated ftp server and I enter wrong ulogin/password, then I choose dialog to reenter it, I enter correct one then my connection timeouts and when konqueror tries to reconnect, it uses the first login/password (the wrong one) I entered. It should remember which pair was correct and use that one.

Jan Halasa
Comment 1 Stephan Binner 2002-10-31 19:26:03 UTC
Same as #7321? 
Comment 2 David Faure 2002-10-31 19:35:49 UTC
Hello - congrats on getting the number 50000 :) 
 
Was the password wrong, or was the login wrong too? I mean, is the login different between the 
first attempt and the second? I have fixed a bug where the authentication server would store 
different account infos under the same key (because it didn't use the login name in the key). 
 
However, this should only affect _correct_ login/password pairs. 
Those that the server doesn't accept are not supposed to be stored at all, and it didn't happen 
when I checked (well, with kde-3.1-rc1) so this report surprises me. 
Maybe the bug is simply fixed - can you upgrade to kde-3.1-rc1 to check? 
Comment 3 Jan Halasa 2002-10-31 20:02:13 UTC
Subject: Re:  ftp fails to reconnect

On Thursday 31 October 2002 19:35, you wrote:
> ------- Additional Comments From faure@kde.org  2002-10-31 19:35 -------
> Hello - congrats on getting the number 50000 :)

Yeah, KDE is now even greater :)

> Was the password wrong, or was the login wrong too? I mean, is the login
> different between the first attempt and the second? I have fixed a bug
> where the authentication server would store different account infos under
> the same key (because it didn't use the login name in the key).

First I typed the wrong login, a konq used it later, also when I type URL
like ftp://login:password@ftp.site.org and the login is incorrect, after 
correcting it in a reconnect dialog, konq does still shows the old one in the 
location bar. I think that it can remember the corrected password when the 
first login was valid, but cannot remember which login was the right one when 
I enter also some invalid.

> However, this should only affect _correct_ login/password pairs.
> Those that the server doesn't accept are not supposed to be stored at all,
> and it didn't happen when I checked (well, with kde-3.1-rc1) so this report
> surprises me. Maybe the bug is simply fixed - can you upgrade to
> kde-3.1-rc1 to check?

I will try, I hope that I won't get some fatal error after 8 hours of 
compiling as it happened last time to me :) And I was so sad, that
I forgot to look in some log file what really happened.

Jan Halasa

Comment 4 David Faure 2002-10-31 21:10:19 UTC
Subject: Re:  ftp fails to reconnect

On Thursday 31 October 2002 20:02, you wrote:
> I will try, I hope that I won't get some fatal error after 8 hours of 
> compiling as it happened last time to me :) And I was so sad, that
> I forgot to look in some log file what really happened.

Oh - if you have the sources already, simply update kdelibs/kioslave/ftp/
("cvs update" there, if you have a CVS subdir, otherwise get ftp.cc from
webcvs.kde.org for instance)

Comment 5 Dawit Alemayehu 2003-12-06 08:13:37 UTC
Hello,

This should work okay with recent releases (3.1.4 or 3.2beta). If you still have problems, please feel free to reopen this report.