Bug 74688 - Filelist not shown when Konqueror is connected to Microsoft FTP service
Summary: Filelist not shown when Konqueror is connected to Microsoft FTP service
Status: RESOLVED FIXED
Alias: None
Product: kio
Classification: Frameworks and Libraries
Component: ftp (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: David Faure
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-09 09:41 UTC by Morten Sjoegren
Modified: 2004-02-29 20:02 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 Morten Sjoegren 2004-02-09 09:41:50 UTC
Version:           3.2.0 (using KDE KDE 3.2.0)
Installed from:    SuSE RPMs
OS:          Linux

I'm trying to connect to my schools FTP-server, which is running a Microsoft FTP service. Konqueror doesn't show any files or folders on the server. While gftp does work.
I've connected with TotalCommander on a Windows machine and here is the output. url, IPs and usersnames not shown :-)
---------------------------------------------
Connect to: (09-02-2004 09:24:24)
hostname=ftp.xxxxxxx.dk
username=
startdir=
ftp.xxxxxxx.dk=xx.xx.x.x
220-Microsoft FTP Service
220 xxxxxxxxxSkolens FTP Server
USER xxxxxxxx
331 Password required for xxxxxxxx
PASS ***********
230 User xxxxxxx logged in.
SYST
215 Windows_NT
FEAT
211-FEAT
    SIZE
    MDTM
211 END
Connect ok!
PWD
257 "/" is current directory.
Hent mappe
TYPE A
200 Type set to A.
PORT xxx,xx,xxx,xxx,x,x
200 PORT command successful.
LIST
150 Opening ASCII mode data connection for /bin/ls.
Download
Venter pƄ server...
226 Transfer complete.
Comment 1 David Faure 2004-02-09 16:32:11 UTC
The output of another tool is not really interesting (the file list is not shown since it goes via another channel anyway).

Please activate debug output for kio_ftp (see http://www.konqueror.org/investigatebug/#http, what is said about http also applies to ftp), and then connect to the site from konqueror, and send me a similarly 'made safe' output.
Comment 2 Morten Sjoegren 2004-02-09 17:31:05 UTC
Sorry, I just took the output from the other program to help identify the server :-)

I followed the guiden from the link, and here is the output you requested, it has been snipped from my .X.err file, 

ABOVE XFree + xmms-kde starts up and generates som output
-----------------------------------------------------------------------------
WARNING: NAME not specified in initial startup message
WARNING: NAME not specified in initial startup message
konqueror: WARNING: KGenericFactory: instance requested but no instance name passed to the constructor!
WARNING: NAME not specified in initial startup message
WARNING: NAME not specified in initial startup message
konqueror: WARNING: KGenericFactory: instance requested but no instance name passed to the constructor!
WARNING: NAME not specified in initial startup message
kdecore (KAction): WARNING: KAction::insertKAccel( kaccel = 0x8141438 ): KAccel object already contains an action name "file_quit"
kdecore (KAction): WARNING: KAction::insertKAccel( kaccel = 0x8141438 ): KAccel object already contains an action name "file_quit"
WARNING: NAME not specified in initial startup message
-----------------------------------------------------------------------------
BELOW EOF

I hope you can see something from it :-) because I sure can't.
Comment 3 David Faure 2004-02-09 17:53:37 UTC
Looks like you need to recompile kdelibs (at least kio_ftp) without --disable-debug (like most binary packages have)

Comment 4 Morten Sjoegren 2004-02-10 17:07:23 UTC
okay, here is the new output but I don't see much difference:

The lines before is XFree86 starting and kicker with xmms-kde.
BEGIN .X.err
------------------------------------------------------------------------------------
.
.
.
xmms-kde: created xmmsplayer interface
xmms-kde: player: 0
WARNING: NAME not specified in initial startup message
WARNING: NAME not specified in initial startup message
MNG error 1029: Chunk out of sequence; chunk TERM; subcode 0:0
MNG error 1029: Chunk out of sequence; chunk TERM; subcode 0:0
MNG error 1029: Chunk out of sequence; chunk TERM; subcode 0:0
MNG error 1029: Chunk out of sequence; chunk TERM; subcode 0:0
MNG error 1029: Chunk out of sequence; chunk TERM; subcode 0:0
MNG error 1029: Chunk out of sequence; chunk TERM; subcode 0:0
MNG error 1029: Chunk out of sequence; chunk TERM; subcode 0:0
MNG error 1029: Chunk out of sequence; chunk TERM; subcode 0:0
MNG error 1029: Chunk out of sequence; chunk TERM; subcode 0:0
kdecore (KLibLoader): WARNING: KLibrary: /opt/kde3/lib/libkdecore.so.4: undefined symbol: PKCS7_content_free
kdecore (KLibLoader): WARNING: KLibrary: /opt/kde3/lib/libkdecore.so.4: undefined symbol: OpenSSL_add_all_algorithms
kdecore (KLibLoader): WARNING: KLibrary: /opt/kde3/lib/libkdecore.so.4: undefined symbol: OpenSSL_add_all_algorithms_conf
kdecore (KLibLoader): WARNING: KLibrary: /opt/kde3/lib/libkdecore.so.4: undefined symbol: OpenSSL_add_all_algorithms_noconf
MNG error 1029: Chunk out of sequence; chunk TERM; subcode 0:0
MNG error 1029: Chunk out of sequence; chunk TERM; subcode 0:0
MNG error 1029: Chunk out of sequence; chunk TERM; subcode 0:0
MNG error 1029: Chunk out of sequence; chunk TERM; subcode 0:0
kdecore (KLibLoader): WARNING: KLibrary: /opt/kde3/lib/libkdecore.so.4: undefined symbol: PKCS7_content_free
kdecore (KLibLoader): WARNING: KLibrary: /opt/kde3/lib/libkdecore.so.4: undefined symbol: OpenSSL_add_all_algorithms
kdecore (KLibLoader): WARNING: KLibrary: /opt/kde3/lib/libkdecore.so.4: undefined symbol: OpenSSL_add_all_algorithms_conf
kdecore (KLibLoader): WARNING: KLibrary: /opt/kde3/lib/libkdecore.so.4: undefined symbol: OpenSSL_add_all_algorithms_noconf
MNG error 1029: Chunk out of sequence; chunk TERM; subcode 0:0
MNG error 1029: Chunk out of sequence; chunk TERM; subcode 0:0
MNG error 1029: Chunk out of sequence; chunk TERM; subcode 0:0
MNG error 1029: Chunk out of sequence; chunk TERM; subcode 0:0
MNG error 1029: Chunk out of sequence; chunk TERM; subcode 0:0
QGArray::find: Index 0 out of range
MNG error 1029: Chunk out of sequence; chunk TERM; subcode 0:0
MNG error 1029: Chunk out of sequence; chunk TERM; subcode 0:0
MNG error 1029: Chunk out of sequence; chunk TERM; subcode 0:0
MNG error 1029: Chunk out of sequence; chunk TERM; subcode 0:0
MNG error 1029: Chunk out of sequence; chunk TERM; subcode 0:0
MNG error 1029: Chunk out of sequence; chunk TERM; subcode 0:0
MNG error 1029: Chunk out of sequence; chunk TERM; subcode 0:0
MNG error 1029: Chunk out of sequence; chunk TERM; subcode 0:0
MNG error 1029: Chunk out of sequence; chunk TERM; subcode 0:0
MNG error 1029: Chunk out of sequence; chunk TERM; subcode 0:0
MNG error 1029: Chunk out of sequence; chunk TERM; subcode 0:0
MNG error 1029: Chunk out of sequence; chunk TERM; subcode 0:0
konqueror: WARNING: KGenericFactory: instance requested but no instance name passed to the constructor!
------------------------------------------------------------------------------------
EOF .X.err

I really hope this is what you asked for.
Comment 5 David Faure 2004-02-10 17:36:38 UTC
On Tuesday 10 February 2004 17:07, Morten Sjoegren wrote:
> I really hope this is what you asked for.

No, there is still nothing from kio_ftp in there.

When I go to an FTP site (with a kdelibs compiled with debug output), it looks like this

kio_ftp: resp> 220 welcome to the bolug ftp server! -- contact: info@bolug.uni-bonn.de
kio_ftp:
kio_ftp: Connected...
kio_ftp: Sending Login name: user anonymous
kio_ftp: ftpSendCmd: user anonymous
kio_ftp: resp> 331 Please specify the password.
kio_ftp:
kio_ftp: Sending Login password: [protected]
kio_ftp: ftpSendCmd: pass [protected]
kio_ftp: resp> 230 Login successful. Have fun.
kio_ftp:
kio_ftp: Login OK
kio_ftp: ftpSendCmd: syst
kio_ftp: resp> 215 UNIX Type: L8
kio_ftp:
kio_ftp: Searching for pwd
kio_ftp: ftpSendCmd: pwd
kio_ftp: resp> 257 "/"
kio_ftp:
kio_ftp: 2> 257 "/"
kio_ftp:
kio_ftp: Initial path set to: /
kio_ftp: Ftp::stat : cleaned path=''
kio_ftp: Ftp::listDir ftp://ftp.kde.org
kio_ftp: REDIRECTION to ftp://ftp.kde.org/
kio_ftp: Ftp::listDir ftp://ftp.kde.org/
kio_ftp: hunting for path '/'
kio_ftp: [void KRemoteEncoding::setEncoding(const char*)] setting encoding ISO 8859-1 for name=
kio_ftp: ftpSendCmd: cwd /
kio_ftp: resp> 250 Directory successfully changed.
kio_ftp:
kio_ftp: ftpSendCmd: type A
kio_ftp: resp> 200 ASCII tastes bad, dude.
kio_ftp:
kio_ftp: ftpSendCmd: EPSV
kio_ftp: resp> 500 Unknown command.
kio_ftp:
kio_ftp: disabling use of EPSV
kio_ftp: ftpSendCmd: PASV
kio_ftp: resp> 227 Entering Passive Mode (131,220,60,97,70,119)
kio_ftp:
kio_ftp: ftpSendCmd: list -la
kio_ftp: resp> 150 Here comes the directory listing.
kio_ftp:
kio_ftp: Starting of list was ok
kio_ftp: ftpParseDir drwxr-xr-x    9 root     root         4096 Apr 27  2001 .
kio_ftp:
kio_ftp: .
kio_ftp: ftpParseDir drwxr-xr-x    9 root     root         4096 Apr 27  2001 ..
kio_ftp:
kio_ftp: ..
kio_ftp: ftpParseDir drwxr-xr-x    2 root     root         4096 Apr 27  2001 bin
kio_ftp:
kio_ftp: bin

etc.

Comment 6 David Faure 2004-02-15 00:04:58 UTC
CVS commit by faure: 

Fix for win-2003, patch by J
Comment 7 Morten Sjoegren 2004-02-29 20:02:07 UTC
Thank you for fixed, have just switched dist. to Gentoo, and have patched kdelibs with this patch.
(And made sure that debug has been enabled a compile time)

And it works great :-)
I'm however amazed that you were able to fix it, without the current debug-output from my end.