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

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

bug#53360: 29.0.50; Tramp/AngeFTP/Dired: Error about wrong ls usage when


From: Michael Albinus
Subject: bug#53360: 29.0.50; Tramp/AngeFTP/Dired: Error about wrong ls usage when connecting to FTP server
Date: Sun, 06 Feb 2022 18:08:44 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Tassilo Horn <tsdh@gnu.org> writes:

Hi Tassilo,

> I've tried to connect to some FTP server using
>
>   C-x C-f /ftp:user@server.com: RET
>
> and got this usage error in the *ftp* buffer:
>
> ftp> ls -alh --group-directories-first /tmp/ange-ftpbNvAjx
> usage: ls remote-directory local-file
> ftp>
>
> I think those unrecognized arguments like --group-directories-first come
> due to the fact that I've set
>
>   (setq dired-listing-switches "-alh --group-directories-first")
>
> which is fine for normal dired but not FTP.
>
> I guess in the FTP case, there must be some dired-listing-switches
> sanitization, i.e., remove those options which are not valid for FTP.
> (I wouldn't care if it hard-coded the standard "-ah" for now.)

Could you pls check whether the appended patch fixes this for you?

Best regards, Michael.

Attachment: txtUH4MSgCsQi.txt
Description: Text Data


reply via email to

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