From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Guido Van Hoecke Newsgroups: gmane.emacs.help Subject: Re: FTP to MS ftp server Date: Wed, 03 Apr 2013 17:54:11 +0200 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1365004470 8255 80.91.229.3 (3 Apr 2013 15:54:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 3 Apr 2013 15:54:30 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Yuri Khan Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Apr 03 17:54:58 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 1UNQ1a-0006qd-52 for geh-help-gnu-emacs@m.gmane.org; Wed, 03 Apr 2013 17:54:58 +0200 Original-Received: from localhost ([::1]:34768 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UNQ1B-0006Tg-GY for geh-help-gnu-emacs@m.gmane.org; Wed, 03 Apr 2013 11:54:33 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:49496) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UNQ10-0006TN-62 for help-gnu-emacs@gnu.org; Wed, 03 Apr 2013 11:54:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UNQ0u-0004lA-Li for help-gnu-emacs@gnu.org; Wed, 03 Apr 2013 11:54:22 -0400 Original-Received: from mail-ea0-x235.google.com ([2a00:1450:4013:c01::235]:44224) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UNQ0u-0004l4-FP for help-gnu-emacs@gnu.org; Wed, 03 Apr 2013 11:54:16 -0400 Original-Received: by mail-ea0-f181.google.com with SMTP id z10so729202ead.40 for ; Wed, 03 Apr 2013 08:54:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-type; bh=iZu/phgrj4SrzAO7E3Hty/YcRRrnyK/oKEHrH/yZY7U=; b=yQS53NTxLhDg2XGUgsgouLqKOfJp0VhHdV2BTYWuxE9PB3GjiS1dAAPYTurOkJ4ToI e8311pmxiLupcA9U+qTJ3s/+n5E0jECNI+HPt7+OAaZ5eSHdJcBAUFHqkyoa7h4pRzFL unskCbzxoXQsT3NXlgC+Cz1QDOT7me4C1vgD5J0dnaGBVTEU7hUFRa5GnT5bIxcrj/Z0 aCf2MPKMkiVcw4X7i310XfEOJROV89NOdGZztP07A9CicH5tFlQTJe8wu3+jMyw6G59o 8T8yyAoTtp3Tj+N2CS0IxcFtIqkmXE9bFn629y8w7hpye4mez4SL3+dtVkHA3+X/Fzai 8TNQ== X-Received: by 10.15.36.135 with SMTP id i7mr4395232eev.34.1365004455490; Wed, 03 Apr 2013 08:54:15 -0700 (PDT) Original-Received: from zac.local.vanhoecke.org (78-23-197-126.access.telenet.be. [78.23.197.126]) by mx.google.com with ESMTPS id s47sm8309313eeg.8.2013.04.03.08.54.13 (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 03 Apr 2013 08:54:14 -0700 (PDT) In-Reply-To: (Yuri Khan's message of "Wed, 3 Apr 2013 16:33:08 +0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (darwin) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4013:c01::235 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:89947 Archived-At: Yuri Khan writes: > 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. As far as I know, there's only one MS-DOS format, and luckily, it is occurring less frequently that the UNIX format. Microsoft explains how users of their servers can choose either format: http://www.iis.net/configreference/system.applicationhost/sites/sitedefaults/ftpserver/directorybrowse So again, I would be happy if Emacs would grok this MS-DOS format. > 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 I have no idea about nor control over this capability of those servers. > 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. Again, I can only use what the servers provide as standard interface, i.e. plain old FTP, unfortunately using MS-DOS format, and I would like to access these servers from within Emacs. Respectfully, Guido -- Cops never say good-bye. They're always hoping to see you again in the line-up. -- Raymond Chandler http://vanhoecke.org ... and go2 places!