This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: ftpd - works but directory listings are blank


Yes, that was it. It's obvious now...

I install everything to c:\cygnus, then remount / to point to c:\, so that I
can easily access all the other files on my machine. I imagine there's no
problem mapping both /bin and /usr/bin to c:\cygnus\bin, is there?

Richard Stanton

> -----Original Message-----
> From: Corinna Vinschen [mailto:vinschen@cygnus.com]
> Sent: Thursday, October 12, 2000 5:16 AM
> To: cygwin@sources.redhat.com
> Subject: Re: ftpd - works but directory listings are blank
>
>
> Richard Stanton wrote:
> >
> > I have all the latest cygwin stuff installed, including sshd,
> ftpd, etc, and
> > all are running fine except for one thing. Running ftpd from
> inetd, I can
> > connect to my PC, and download/upload files. All very good,
> except that I
> > CAN'T get a directory listing. It tells me it's giving me a listing, but
> > nothing ever actually appears on the screen. Here's a sample session:
> >
> > ftp> cd /
> > 250 CWD command successful.
> > ftp> dir
> > 200 PORT command successful.
> > 150 Opening ASCII mode data connection for '/bin/ls'.
> > 226 Transfer complete.
> > ftp> lcd /scratch
> > Local directory now /scratch
> > ftp> ascii
> > 200 Type set to A.
> > ftp> put #mktex.cnf#
> > 200 PORT command successful.
> > 150 Opening ASCII mode data connection for '#mktex.cnf#'.
> > 226 Transfer complete.
> > 174 bytes sent in 0 seconds (174 bytes/s)
> > ftp> dir
> > 200 PORT command successful.
> > 150 Opening ASCII mode data connection for '/bin/ls'.
> > 226 Transfer complete.
> > ftp> ls
> > 200 PORT command successful.
> > 150 Opening ASCII mode data connection for '/bin/ls'.
> > 226 Transfer complete.
> > ftp>
> >
> > Does anyone else have this working? Any idea what I need to do
> to get it to
> > work?
>
> Obviously you don't have /bin/ls. Either you didn't make a standard
> install or you changed /usr/bin to be a separate directory.
>
> Assuming that you have a /usr/bin/ls you should simply create a
> symlink in /bin
>
> 	ln -s /usr/bin/ls /bin/ls
>
> If that's definitely not the problem I suggest examining the registry
> key HKU/.DEFAULT/Software/Cygnus Solutions/. It might contain unwanted
> mount points from an older installation.
>
> Corinna
>
> --
> Corinna Vinschen                  Please, send mails regarding Cygwin to
> Cygwin Developer                        mailto:cygwin@sources.redhat.com
> Red Hat, Inc.
> mailto:vinschen@cygnus.com
>


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]