bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: wu-ftpd tricks ange-ftp into displaying a file as a directory


From: Stefan Monnier
Subject: Re: wu-ftpd tricks ange-ftp into displaying a file as a directory
Date: 15 Aug 2001 09:09:33 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.105

>>>>> "David" == David desJardins <david@desjardins.org> writes:
> An easy workaround is to append "/." instead of just "/".

And I thought that's what ange-ftp does.  At least I've seen it do that
sometimes.  And wu=ftpd sometimes returns "Total 0" when asked to
list "/home/foo/.bashrc/." which also confuses ange-ftp into thinking
that .bashrc is a directory (but an empty one this time).

I have a patch that recognizes this special "Total 0" output and
treats it accordingly, but it hasn't been committed to Emacs' CVS
repository because it's not clear whether some other ftp server
might return the same output for genuine empty directories.


        Stefan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]