ftp server not allowing directory listings

Phil Johnson phil_johnson at stanfordalumni.org
Fri Jun 29 20:08:40 EDT 2007


Very interesting.  I just tried Cygwin and it works for me, too.  The 
standard ftp clients on Solaris and HP-UX work, as well.  But for some 
reason I cannot get a directory listing with Linux ftp.  (I tried from 3 
sites using 3 different releases of Red Hat Linux/Fedora.)

XEmacs's menu didn't work either:

   open ftp.xemacs.org
   Connected to xemacs.org.
   220 ProFTPD 1.2.9 Server (ProFTPD on ftp.tux.org) [gwyn.tux.org]
   quote user "anonymous"
   500 AUTH not understood

Anyway, I was able to download what I need from Cygwin.  Thanks very 
much for the help!

- Phil

Adrian Aichner wrote:
> Phil Johnson <pjj at sonic.net> writes:
> 
>> Feedback from
>> /Download/index.html
>>
>> Could someone check the ftp.xemacs.org FTP server?  "dir" and "ls" do
>> not work in any directory.  I tried from a couple different sites.
>>
>>  bash> ftp ftp.xemacs.org.
>>  Connected to ftp.xemacs.org. (207.172.156.133).
>>  220 ProFTPD 1.2.9 Server (ProFTPD on ftp.tux.org) [gwyn.tux.org]
>>  Name (ftp.xemacs.org.:pjj): ftp
>>  331 Anonymous login ok, send your complete email address as your password.
>>  Password:
>>  230-@(#)$Id: welcome.msg,v 1.7 2002/12/11 20:50:19 root Exp $
>>    .
>>    .
>>    .
>>  230 Anonymous access granted, restrictions apply.
>>  Remote system type is UNIX.
>>  Using binary mode to transfer files.
>>  ftp> cd pub
>>  250 CWD command successful.
>>  ftp> dir
>>  227 Entering Passive Mode (207,172,156,133,218,82).
>>  ftp: connect: No route to host
> 
> 230-
> 230-@(#)$Id: welcome.msg,v 1.7 2002/12/11 20:50:19 root Exp $
> 230 Anonymous access granted, restrictions apply.
> ftp> cd pub
> 250 CWD command successful.
> ftp> pwd
> 257 "/" is current directory.
> ftp> dir
> 200 PORT command successful
> 150 Opening ASCII mode data connection for file list
> -rw-r--r--   1 root     mirror   657311744 May 13 00:56 CentOS.iso
> -rw-r--r--   1 root     mirror       1645 Oct 30  1997 INDEX
> drwxrwsr-x   2 root     mirror       4096 Dec 11  2002 RCS
> -r--r--r--   1 root     root         3818 Jun 29  1999 REA DME
> 
> Hi Phil, I cannot reproduce your problem in a cygwin bash session, as
> you can see above.
> 
> I went on to test ftp access via my XEmacs, using
> Tools->Packages->Set Download Site->Official Releases-> US (Main XEmacs Site)
> and
> Tools->Packages->List and Install
> and that works fine as well (I typed the "dir" command manually into
> the *ftp anonymous at ftp.xemacs.org* buffer):
> 
> Best regards!
> 
> Adrian
> 
> open ftp.xemacs.org
> Connected to xemacs.org.
> 
> 
> help      	
> 
> help      	
> 
> 220 ProFTPD 1.2.9 Server (ProFTPD on ftp.tux.org) [gwyn.tux.org]
> 
> quote user "anonymous"
> 331 Anonymous login ok, send your complete email address as your password.
> 
> quote pass  Turtle Power!
> 230-@(#)$Id: welcome.msg,v 1.7 2002/12/11 20:50:19 root Exp $
> 
> 230-+--------------------------------------------------------------------------+
> 
> 230-|                       Welcome to ftp.tux.org!                            |
> 
> 230-+--------------------------------------------------------------------------+
> 
> 230-| This server and its network connection have been graciously donated by:  |
> 
> 230-|       VA Linux (now VA Software, http://www.vasoftware.com) and          |
> 
> 230-|       RCN Corporation http://www.rcn.com                                 |
> 
> 230-|                                                                          |
> 
> 230-| It is administered by Linux user groups in the East Coast of the USA on  |
> 
> 230-| behalf of their members and the Linux community worldwide.               |
> 
> 230-|                                                                          |
> 
> 230-| The goal of this FTP site is to provide timely mirrors of Linux-related  |
> 
> 230-| software from all over the world.  It is not a complete mirror of all of |
> 
> 230-| the large sites; instead it combines mirrors of the most important parts |
> 
> 230-| of the large FTP archives with direct nightly mirrors of many smaller,   |
> 
> 230-| harder-to-find sites plus a growing amount of original content.          |
> 
> 230-|                                                                          |
> 
> 230-| If there is something Linux-related you would like to have added to the  |
> 
> 230-| mirror or if you see a problem with something already mirrored here,     |
> 
> 230-| please contact <ftp at tux.org>.                                            |
> 
> 230-|                                                                          |
> 
> 230-| You are user number 18 out of a possible 120.  All transfers to          |
> 
> 230-| and from this archive are logged.  If you don't like this then           |
> 
> 230-| disconnect now.                                                          |
> 
> 230-|                                                                          |
> 
> 230-| Usage of this server for illegal activities is prohibited and will       |
> 
> 230-| be prosecuted to the fullest extent of the law.                          |
> 
> 230-+--------------------------------------------------------------------------+
> 
> 230-
> 
> 230-@(#)$Id: welcome.msg,v 1.7 2002/12/11 20:50:19 root Exp $
> 
> 230 Anonymous access granted, restrictions apply.
> 
> hash
> Hash mark printing On  ftp: (2048 bytes/hash mark) .
> 
> 
> quote pwd
> 257 "/" is current directory.
> 
> quote syst
> 215 UNIX Type: L8
> 
> quote cwd /pub/xemacs/packages/package-index.LATEST.gpg/.
> 550 /pub/xemacs/packages/package-index.LATEST.gpg/.: No such file or directory
> 
> 
> quote site idle
> 500 'SITE IDLE' not understood
> 
> 
> quote cwd /pub/xemacs/packages/.
> 250-The packages in this directory contain full sources *for each package
> 
> 250-as installed*.  To modify package code in-place,
> 
> 250-
> 
> 250-1. Determine the library containing the function you wish to change.
> 
> 250-2. Use M-x find-library to read the code into a buffer, and edit it.
> 
> 250-3. Repeat as necessary.
> 
> 250-4. If you have added any autoload cookies or changed any autoloaded
> 
> 250-   functions, use M-x update-file-autoloads.
> 
> 250-5. Run M-x byte-recompile-directory to recompile all .elcs whose
> 
> 250-   corresponding .els have changed.
> 
> 250-
> 
> 250-A similar procedure can be used for modifying Texinfo documentation
> 
> 250-(the sources with be in a subdirectory named for the package in the
> 
> 250-man directory which is the "uncle" of the directory containing Lisp
> 
> 250-code).  Rebuild the Info files with makeinfo.
> 
> 250-
> 
> 250-Of course you can generate patches to send to XEmacs for inclusion in
> 
> 250-future versions.  You must preserve the original file somehow, of
> 
> 250-course.
> 
> 250-
> 
> 250-More convenient for developers and redistributors is the package
> 
> 250-source repository in XEmacs CVS.  See http://cvs.xemacs.org/ for more
> 
> 250-information.  If you are an experienced CVS user, then login to the
> 
> 250-anonymous pserver with password "cvs", then checkout the packages module.
> 
> 250-
> 
> 250-cvs -d :pserver:cvs at cvs.xemacs.org:/pack/xemacscvs login
> 
> 250-cvs -d :pserver:cvs at cvs.xemacs.org:/pack/xemacscvs checkout packages
> 
> 250-
> 
> 250-CVS provides file history, of course, and allows you to generate
> 
> 250-patches against the current developer sources without worrying about
> 
> 250-keeping backups of the current version.  The version of the package in
> 
> 250-CVS also provides support for building binary-with-source packages, as
> 
> 250-provided in this directory.  Sorry, we do not provide prebuilt
> 
> 250-binaries or tarballs of the CVS sources.
> 
> 250-
> 
> 250-
> 
> 250 CWD command successful.
> 
> ls "-al" C:/DOCUME~1/AICHNE~1/LOCALS~1/Temp/efsbWBp00
> 200 PORT command successful
> 
> 150 Opening ASCII mode data connection for file list
> 
> 
> 226 Transfer complete.
> 
> ftp: 11850 bytes received in 0.41Seconds 29.12Kbytes/sec.
> 
> 
> type image
> 200 Type set to I
> 
> get /pub/xemacs/packages/package-index.LATEST.gpg C:/DOCUME~1/AICHNE~1/LOCALS~1/Temp/efsbWBp00.gpg
> 200 PORT command successful
> 
> 150 Opening BINARY mode data connection for /pub/xemacs/packages/package-index.LATEST.gpg (82368 bytes)
> 
> 
> 
> 226 Transfer complete.
> 
> ftp: 82368 bytes received in 3.39Seconds 24.30Kbytes/sec.
> 
> 
> cd pub
> 550 pub: No such file or directory
> 
> 
> pwd
> 257 "/tux/xemacs/packages" is current directory.
> 
> dir
> 200 PORT command successful
> 
> 150 Opening ASCII mode data connection for file list
> 
> -rw-r--r--   1 viteno   xemacadm     8184 Apr 27 20:18 README.MD5
> 
> 
> -rw-r--r--   2 turnbull xemacadm     1680 Jan 27 19:39 README.SOURCES
> 
> 
> -rw-r--r--   1 viteno   xemacadm    64431 Sep  6  2004 Sun-1.16-pkg.tar.gz
> 
> 
> -rw-r--r--   1 viteno   xemacadm    55836 Oct 31  2003 ada-1.14-pkg.tar.gz
> <408 lines deleted by Adrian Aichner>
> 
> 
> -rw-r--r--   1 viteno   viteno     277377 May 10  2005 zenirc-1.16-pkg.tar.gz
> 
> 
> #
> 
> 226 Transfer complete.
> 
> ftp: 11602 bytes received in 0.41Seconds 28.58Kbytes/sec.
> 
> 
> 
> 
>> Thanks.
>>
>> - phil
>>
>> _______________________________________________
>> XEmacs-Services mailing list
>> XEmacs-Services at xemacs.org
>> http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-services
>>
>>
> 




More information about the XEmacs-Services mailing list