Version: 3.5.5 (using KDE 3.5.5 "release 39.1" , openSUSE ) Compiler: Target: i586-suse-linux OS: Linux (i686) release 2.6.18 Trying to get a file from this URL always gives "can't login" error (German: "Anmeldung nicht möglich"): ftp://ftpc.borland.com/pub/delphi/devsupport/updates/delphi5/german/d5stdupdate.exe Since it works with Firefox I suspect it's a bug.
Can reproduce; logging in with firefox or via ftp shell tool works.
Thank you for your bug report. Apparently the test URL is no longer valid. Could you provide another URL that exhibits the same problem?
The URL is still valid, even "ftp://ftpc.borland.com/" gives the same error (KDE 3.5.9)
Hello. Here the original URL is not valid, i get the an error with Konqueror and Firefox because the file is missing. For the latest URL, i can login fine with Konqueror in KDE 3.5.7 and in Konqueror SVN trunk. I have downloaded random files without any problem. Have you tried to download from another location?
I've tried ftp://ftpc.borland.com as well as ftp://ftp.borland.com with Konqueror from 3.5.9 with my user account and Konqueror from trunk (compiled yesterday) in an empty account. Both fail the same way: "can not login". Firefox works for both. I've strace'd the kio_ftp and that's the result, stripped to the interesting parts: 5606 read(7, "220 Akamai Content Storage FTP Server\r\n", 2048) = 39 5606 write(7, "USER anonymous\r\n", 16) = 16 5606 read(7, "331 Anonymous login ok, send your complete email address as your password.\r\n", 2048) = 76 5606 write(7, "pass anonymous@\r\n", 17) = 17 5606 read(7, "230-\n----------------------------------------------------------------------------\n WARNING: This is a restricted access system. I f you do not have explicit\n permission to access this system, please disconnect immediately!\n------------------------------------------- ---------------------------------\r\n230 User anonymous logged in.\r\n", 2048) = 343 5606 write(7, "SYST\r\n", 6) = 6 >>> nice that the kioslave does not even wait for the reply here, hm? <<< 5606 close(7) = 0 [...] 5606 connect(7, {sa_family=AF_INET, sin_port=htons(21), sin_addr=inet_addr("80.239.144.135")}, 16) = -1 EINPROGRESS (Operation now in progress) 5606 read(7, "220 Akamai Content Storage FTP Server\r\n", 2048) = 39 5606 write(7, "SYST\r\n", 6) = 6 5606 read(7, "215 UNIX Type: L8\r\n", 2048) = 19 5606 write(7, "PWD\r\n", 5) = 5 5606 read(7, "530 Please login with USER and PASS\r\n", 2048) = 37 Konqueror closed the connection and did not login again on the new one. Probably it got confused because the server sent bare LFs in it's greeting.
Yes, it's really the extra \n in the motd. the ftp kioslave uses readLine() to get the next line from the ftp - which is terminated by any \n. I didn't find anything in the rfc so I guess what the borland ftp server might actually be valid (but I might not have looked thorougly enough).
I just tried "ftp://ftpc.borland.com/" in konqueror built from master code. It loaded without problem.
KDE 3 is no longer maintained and as stated in comment #7, this works just fine in KDE 4.