Bug 104995

Summary: konqueror v3.3.2 cannot do a listing on VAX/VMS FTP servers
Product: [Unmaintained] kio Reporter: t35t0r t35t0r <t35t0r>
Component: ftpAssignee: David Faure <faure>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version First Reported In: 3.3.2   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description t35t0r t35t0r 2005-05-03 01:24:53 UTC
Version:           3.3.2 (using KDE KDE 3.3.2)
Installed from:    Gentoo Packages
Compiler:          gcc version 3.3.5-20050130 (Gentoo Linux 3.3.5.20050130-r1, ssp-3.3.5.20050130-1, pie-8.7.7.1) 
OS:                Linux

When trying to login using ftp://login@vmsFTPServer.edu in the konqueror address bar, then after entering my password, I get the message "Cannot enter directory . ". I cannot see the FTP listing. Regular command line ftp and ncftp both work on this server. 

I just need an easy way to recursively get directories. GFTP can't see the listing either and ncftp's get -R * doesn't get the directories (only files like ftp's mget).

The remote server is runnning:

This is OpenVMS/Alpha version 6.2-1H3.
Comment 1 t35t0r t35t0r 2005-05-03 01:26:01 UTC
Forgot to mention, even Internet Explorer v6 works on this server.
Comment 2 Thiago Macieira 2005-05-03 02:56:37 UTC
That URL points to a non-existent host. We need a real server to test this on.
Comment 3 t35t0r t35t0r 2005-05-03 19:49:30 UTC
Sorry I should have put the url in quotes. I cannot give access to my university account. Perhaps someone at KDE as a openvms system running? If this is not possible maybe use regular command line FTP (http://www.hcs.harvard.edu/~dholland/computers/netkit.html) as a failsafe backend engine.
Comment 4 t35t0r t35t0r 2005-05-03 20:00:31 UTC
Also you might want to see someone else posted a similar error to gftp's bug list http://bugs.gnome.org/show_bug.cgi?id=170524 and also possibly here http://bugs.gnome.org/show_bug.cgi?id=157590 . It looks pretty trivial to fix, but no one has yet.
Comment 5 Thiago Macieira 2005-05-04 03:11:14 UTC
Can you do us a favour, then? Use the command-line ftp tool and paste the directory listing of a typical directory here. The listing format is probably different from what we expect (the output of /bin/ls -l).
Comment 6 t35t0r t35t0r 2005-05-04 19:51:18 UTC
Here it is:

Connected to ctrvax.vanderbilt.edu.
220 ctral1.Vanderbilt.Edu MultiNet FTP Server Process V4.2(16) at Wed 4-May-2005 12:43PM-CDT
Name (ctrvax.vanderbilt.edu:user): user
500 I never heard of the AUTH command.  Try HELP.
SSL not available
331 User name (user) ok. Password, please.
Password:
230 User USER logged into PUB8:[USER] at Wed 4-May-2005 12:43PM-CDT, job 2027676d.
Remote system type is VMS.
ftp> dir *.EXE
200 Port 128.31 at Host 160.129.14.233 accepted.
150 List started.

PUB8:[USER]

NUCLIN.EXE;1               73  20-APR-1992 12:31 [$01148,USER] (RWED,RWED,RE,RE)
S3ALL133.EXE;1           3996   9-MAY-1999 19:00 [$01148,USER] (RWED,RWED,RE,RE)
XYZTONCD.EXE;1              8  20-APR-1992 12:31 [$01148,USER] (RWED,RWED,RE,RE)


Total of 4077 blocks in 3 files.
226 Transfer completed.
ftp> dir *.dir
200 Port 128.33 at Host 160.129.14.233 accepted.
150 List started.

PUB8:[USER]

REF.DIR;1                   7  27-SEP-1994 03:19 [$01148,USER] (RWE,RWE,RE,E)


Total of 7 blocks in 1 file.
226 Transfer completed.
ftp> cd ref
250 Connected to PUB8:[USER.REF].
ftp> dir *.ctl
200 Port 128.41 at Host 160.129.14.233 accepted.
150 List started.

PUB8:[USER.REF]

LSQ5U0.CTL;1                3  29-JAN-1988 15:11 [$01148,USER] (RWED,RWED,RE,RE)
LSQ6U4.CTL;1                3  31-JAN-1988 19:07 [$01148,USER] (RWED,RWED,RE,RE)
LSQ7U1.CTL;1                3   1-FEB-1988 13:45 [$01148,USER] (RWED,RWED,RE,RE)
NCLTMV.CTL;1                2  11-OCT-1984 00:00 [$01148,USER] (RWED,RWED,RE,RE)
PNF23HL.CTL;1               8   8-MAY-1987 00:46 [$01148,USER] (RWED,RWED,RE,RE)
PNF7UC.CTL;3                8  19-JUL-1988 16:20 [$01148,USER] (RWED,RWED,RE,RE)
PNFU6U.CTL;1                8  11-DEC-1987 15:49 [$01148,USER] (RWED,RWED,RE,RE)
SCTTMV.CTL;2                2   5-APR-1985 00:00 [$01148,USER] (RWED,RWED,RE,RE)


Total of 37 blocks in 8 files.
226 Transfer completed.
Comment 7 t35t0r t35t0r 2005-05-04 19:56:15 UTC
Also note that the following commands do not work on OpenVMS FTP server (but they do work on e.g. vsftpd or something else).

ftp> ls -l
200 Port 128.56 at Host 160.129.14.233 accepted.
550 %RMS-F-SYN, file specification syntax error
ftp> ls -la
200 Port 128.57 at Host 160.129.14.233 accepted.
550 %RMS-F-SYN, file specification syntax error
ftp> list
?Invalid command
ftp> LIST
?Invalid command

but this does work:

ftp> ls *.exe
200 Port 128.58 at Host 160.129.14.233 accepted.
150 List started.

PUB8:[USER]

NUCLIN.EXE;1               73  20-APR-1992 12:31 [$01148,USER] (RWED,RWED,RE,RE)
S3ALL133.EXE;1           3996   9-MAY-1999 19:00 [$01148,USER] (RWED,RWED,RE,RE)
XYZTONCD.EXE;1              8  20-APR-1992 12:31 [$01148,USER] (RWED,RWED,RE,RE)


Total of 4077 blocks in 3 files.
226 Transfer completed.
Comment 8 Thiago Macieira 2006-03-27 22:04:01 UTC

*** This bug has been marked as a duplicate of 98136 ***