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

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

Re: ange-ftp problem


From: Stefan Monnier
Subject: Re: ange-ftp problem
Date: 31 Jan 2004 16:17:35 -0500
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

>> But ange-ftp doesn't know how to do that.  It is indeed due to the change
>> that Michael pointed out: we turn `ls -ald <path>' into `cd <path>;
>> ls -ald' which of course only works if <path> is a directory.

> For me, the following patch works (wu-ftpd 2.6.2, sorry no netbsd ftpd):

It's an idea.  I'll have to think some more about it to see if it doesn't
re-introduce some of the problems fixed by the use of cd.

On NetBSD, the current code simply cannot properly do (insert-directory
"/foo/bar" "-ald" nil nil).  And as long as ange-ftp-insert-directory is
exclusively based on running `ls /foo/bar' on the ftp host, it won't be able
to do it.  It needs to either do `ls /foo' and extract the relevant line,
or use ls-lisp.el to construct the line.

> But I'm not familiar with ange-ftp knowing whether there are
> undesired side-effects.

I'm somewhat familiar with this code, but I can't tell for sure right now.


        Stefan




reply via email to

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