From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Eric Klaus" Newsgroups: gmane.emacs.help Subject: Re: Ange-ftp: Getting files with no extension on dumb hosts Date: Thu, 9 Oct 2008 09:21:40 -0500 Message-ID: <612c9da00810090721m7d7bd974ndfd67ba38dd377d3@mail.gmail.com> References: <1b4c130b-5c36-4f4e-972c-cb1c49fa2fb2@s50g2000hsb.googlegroups.com> <87wsgip73u.fsf@alcatel-lucent.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_98367_7293457.1223562100941" X-Trace: ger.gmane.org 1223562260 6739 80.91.229.12 (9 Oct 2008 14:24:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 9 Oct 2008 14:24:20 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: "Michael Albinus" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Oct 09 16:25:16 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KnwRR-00075i-IH for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Oct 2008 16:24:38 +0200 Original-Received: from localhost ([127.0.0.1]:41859 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KnwQN-0002AF-F6 for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Oct 2008 10:23:31 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KnwOe-0001dm-Is for help-gnu-emacs@gnu.org; Thu, 09 Oct 2008 10:21:44 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KnwOd-0001dJ-PF for help-gnu-emacs@gnu.org; Thu, 09 Oct 2008 10:21:44 -0400 Original-Received: from [199.232.76.173] (port=40057 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KnwOd-0001d9-I8 for help-gnu-emacs@gnu.org; Thu, 09 Oct 2008 10:21:43 -0400 Original-Received: from an-out-0708.google.com ([209.85.132.245]:10810) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KnwOd-0001GL-4b for help-gnu-emacs@gnu.org; Thu, 09 Oct 2008 10:21:43 -0400 Original-Received: by an-out-0708.google.com with SMTP id c38so3168ana.84 for ; Thu, 09 Oct 2008 07:21:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=fCJMc5cdmiYNxevkYMEEeOhe9fCm/wdUqRiFP4iaHiY=; b=RGjDFb2rnuwo3Bi14c6oepVM/I9O/prTi+0klsHiWVwUL1dxr4C20UamZadxvSXctK qzscBqcDLId9n+1Dnrz5n2JdSymrxOpQzY0Ji72gFMV5sxTH3jF4OGcGiAidwzjuBbDa cHrIc18JXFKbYB10+Uzk1edZld4/u8eOBBets= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=LJHA3BXDvbqyKICTYW0AV5LyQKCO5dRSlNrrOLgpAYKDfazK4I8M029mqruMFSz2bZ VdQkrA79WImRZTnbFqjrztZeqNw+cUNVFrq3YGyIwC1Imztfx+YJx5Zuk/x3H1JX2wG0 zeSmZ6wWhLfYzv3AfKv/wb2HWkdmNevQ7fdCs= Original-Received: by 10.100.112.9 with SMTP id k9mr191148anc.149.1223562100978; Thu, 09 Oct 2008 07:21:40 -0700 (PDT) Original-Received: by 10.90.88.14 with HTTP; Thu, 9 Oct 2008 07:21:40 -0700 (PDT) In-Reply-To: <87wsgip73u.fsf@alcatel-lucent.de> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:58616 Archived-At: ------=_Part_98367_7293457.1223562100941 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Of course. This is the buffer from my W32 Emacs. The buffer is essentially the same when I use Emacs on UNIX. This is the result of doing open-file on /ftp:userfoo@foohost.bar.company.com:/home/prodjava/start_batch_PostureNote --- Invalid help command foo. open foohost.bar.company.com Connected to foohost.bar.company.com. 220-QTCP at FOOHOST. 220 Connection will close if idle more than 5 minutes. user "userfoo" Turtle Power! 331 Enter password. 230 USERFOO logged on. hash Hash mark printing On ftp: (2048 bytes/hash mark) . dir /home/prodjava/start_batch_PostureNote/ c:/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ange-ftp50768Hh 200 PORT subcommand request successful. 125-NAMEFMT set to 1. 125 List started. dir /home/prodjava/start_batch_PostureNote/ c:/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ange-ftp50768Hh 250 List completed. ftp: 91 bytes received in 0.00Seconds 91000.00Kbytes/sec. 200 PORT subcommand request successful. 125 List started. quote mdtm /home/prodjava/start_batch_PostureNote/ 250 List completed. ftp: 91 bytes received in 0.00Seconds 91000.00Kbytes/sec. 500 Subcommand MDTM not valid. On Thu, Oct 9, 2008 at 2:20 AM, Michael Albinus wrote: > Eric writes: > > > Hello all, > > Hi, > > > I'm having trouble using ange-ftp to get files with no extensions from > > a "dumb host". The host doesn't support any flags on ls commands > > (although simply 'ls ' works), so I added it to > > ange's dumb host list. > > > > However, I can't open files without an extension. This seems to be > > because ange treats these as directories and tries to list their > > contents with a DIR command. I looked briefly through the lisp, but > > nothing jumped out at me as an easy way to force ange to treat a > > certain path as a file rather than a directory. > > Could you, please, show the contents of the ange ftp buffer? The buffer > is called "*ftp user@host*", user and host being your used names. > > Best regards, Michael. > ------=_Part_98367_7293457.1223562100941 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
Of course. This is the buffer from my W32 Emacs. The buffer is essentially the same when I use Emacs on UNIX.
This is the result of doing open-file on /ftp:userfoo@foohost.bar.company.com:/home/prodjava/start_batch_PostureNote

---
Invalid help command foo.
open foohost.bar.company.com
Connected to foohost.bar.company.com.
220-QTCP at FOOHOST.
220 Connection will close if idle more than 5 minutes.
user "userfoo" Turtle Power!
331 Enter password.
230 USERFOO logged on.
hash
Hash mark printing On  ftp: (2048 bytes/hash mark) .
dir /home/prodjava/start_batch_PostureNote/ c:/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ange-ftp50768Hh
200 PORT subcommand request successful.
125-NAMEFMT set to 1.
125 List started.

dir /home/prodjava/start_batch_PostureNote/ c:/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ange-ftp50768Hh
250 List completed.
ftp: 91 bytes received in 0.00Seconds 91000.00Kbytes/sec.
200 PORT subcommand request successful.
125 List started.

quote mdtm /home/prodjava/start_batch_PostureNote/
250 List completed.
ftp: 91 bytes received in 0.00Seconds 91000.00Kbytes/sec.
500 Subcommand MDTM not valid.


On Thu, Oct 9, 2008 at 2:20 AM, Michael Albinus <michael.albinus@gmx.de> wrote:
Eric <etklaus@gmail.com> writes:

> Hello all,

Hi,

> I'm having trouble using ange-ftp to get files with no extensions from
> a "dumb host". The host doesn't support any flags on ls commands
> (although simply 'ls <filename_filter>' works), so I added it to
> ange's dumb host list.
>
> However, I can't open files without an extension. This seems to be
> because ange treats these as directories and tries to list their
> contents with a DIR command. I looked briefly through the lisp, but
> nothing jumped out at me as an easy way to force ange to treat a
> certain path as a file rather than a directory.

Could you, please, show the contents of the ange ftp buffer? The buffer
is called "*ftp user@host*", user and host being your used names.

Best regards, Michael.

------=_Part_98367_7293457.1223562100941--