From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Yuri Khan Newsgroups: gmane.emacs.help Subject: Re: FTP to MS ftp server Date: Wed, 3 Apr 2013 16:33:08 +0700 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1364981606 12737 80.91.229.3 (3 Apr 2013 09:33:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 3 Apr 2013 09:33:26 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Guido Van Hoecke Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Apr 03 11:33:54 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UNK4m-0005Pn-SD for geh-help-gnu-emacs@m.gmane.org; Wed, 03 Apr 2013 11:33:52 +0200 Original-Received: from localhost ([::1]:39966 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UNK4O-0004r2-4a for geh-help-gnu-emacs@m.gmane.org; Wed, 03 Apr 2013 05:33:28 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:52583) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UNK47-0004q3-Uj for help-gnu-emacs@gnu.org; Wed, 03 Apr 2013 05:33:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UNK46-0008DM-Hk for help-gnu-emacs@gnu.org; Wed, 03 Apr 2013 05:33:11 -0400 Original-Received: from mail-la0-x22a.google.com ([2a00:1450:4010:c03::22a]:57697) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UNK46-0008D5-Bd for help-gnu-emacs@gnu.org; Wed, 03 Apr 2013 05:33:10 -0400 Original-Received: by mail-la0-f42.google.com with SMTP id fe20so1244501lab.15 for ; Wed, 03 Apr 2013 02:33:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=yaCCk88p+LJF3CsYO+3s+tkdKIjeRmQ3UYK/NRfHapY=; b=CnMf2eg9KixUz95CMr/9WtjaO7C81RJhZiG3OLu6LuxpBAcsRD0zmuTMicYhRMhmhg QnoTOEYPpJ1TdJJg72mcZuPdfpwPjEF7/ft7C8j5pwoH6Ee8lmxZOxnZtAHILuH97y6p kTtLXnEOxV4wxBp232Sa1oDHOe83Ja7iaa3o2MC56An6nAlmtJH2ewjtOQSWoNQDGAVK fkfAiKRLAG5qW4MK7fM3+zGezDy372fYvCdx5j4xFXXmUNgsrMTNKoiw0pva/4efMLoJ BoZ13mdl1KTOjLrHZIptTw8SHxip08oPamn5uKtMe6D9a1jzIW8oglYQwrxScSVXXpEa DEKQ== X-Received: by 10.112.150.101 with SMTP id uh5mr700115lbb.92.1364981588750; Wed, 03 Apr 2013 02:33:08 -0700 (PDT) Original-Received: by 10.114.74.226 with HTTP; Wed, 3 Apr 2013 02:33:08 -0700 (PDT) In-Reply-To: X-Google-Sender-Auth: f4XihePlPFGejB-m1DdrKYBrTJ8 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c03::22a X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:89925 Archived-At: On Wed, Apr 3, 2013 at 2:42 PM, Guido Van Hoecke wrote: > It is regrettable that the ftp directory listing of MS ftp servers often > use the MS-DOS directory listing format rather than the standard unix > format. What is regrettable is that the FTP protocol did not *have* a standard listing format until it was too late. At the time FTP was invented (RFC 765, published in 1980), no one had thought that 30 years later people will want to access FTP servers with any client programs other than Telnet and the interactive command-line FTP client. The LIST command in the protocol is not required to adhere to any particular format; it is meant for human user consumption and it is expected that users will be able to read any reasonable format. RFC 3659, published in 2007, adds the MLSD command which does specify a machine-readable format. The questions, then, are: whether the server you are interested in does in fact implement RFC 3659, and whether Emacs can use MLSD instead of LIST in order to fetch listings. You might also see if you can migrate to a different protocol, such as SFTP (SSH File Transfer Protocol, not Simple File Transfer Protocol; unlikely on a Windows server), or WebDAV, or god-forbid CIFS (also sometimes known as SMB), all of which are better suited for file collection browsing than FTP.