Bug 95063

Summary: On closig konqueror it should close kio_ftp connection as well
Product: [Applications] konqueror Reporter: Nilesh Bansal <nilesh>
Component: generalAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: adawit
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In: 4.5.0
Sentry Crash Report:

Description Nilesh Bansal 2004-12-13 11:25:26 UTC
Version:            (using KDE KDE 3.3.2)
Installed from:    SuSE RPMs
Compiler:          gcc 3.3 
OS:                Linux

konqueror forgets to close ftp connection before exiting. 

Open a ftp with konqueror (ftp://localhost/) and now close konqueror window. Even after you have closed konqueror, ftp server will show you logged in. You can do a "ps -fe | grep ftp" and check that a kio_ftp process is still running (and will click running untill FTP server timeout occurs).

This behaviour of konqueror is very irritating when FTP server allows say only 1 simultaneous connection.
Comment 1 Stephan Kulow 2005-01-04 10:59:44 UTC
Hmm, new konqueror instances should reuse your ftp connection. That's part of the deal of leaving FTP connections open
Comment 2 Nilesh Bansal 2005-01-04 14:19:11 UTC
But in practice, It is very unlikely that a person will close a konqueror with an open ftp connection and then open a new instance of konqeror and open the same ftp site again. In most practical situations, this open connection is useless and hence it is desirable that we close it with konqueror. 
Comment 3 Stephan Kulow 2005-01-04 14:47:36 UTC
Yes, it's unlikely that a person will close a konqueror and open a new konqueror. But it's likely that you surf on knoppix.de for an ISO and then
open it in k3b. Just an example - but I agree that it's safer to close the
connection and reopen if needed
Comment 4 Unknown 2008-05-16 22:05:40 UTC
I can confirm it.
KDE 4.0.4 leaves the "kdeinit4: kio_ftp" thread open after closing Konqueror.
Comment 5 Dawit Alemayehu 2011-06-11 04:35:51 UTC
This has been addressed with the rewrite of the KIO scheduler in KDE 4.5.0