From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: guivho Newsgroups: gmane.emacs.help Subject: Unable to list or access remote files via ftp Date: Thu, 24 Feb 2011 20:05:10 +0100 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: dough.gmane.org 1298580350 24695 80.91.229.12 (24 Feb 2011 20:45:50 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 24 Feb 2011 20:45:50 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Feb 24 21:45:45 2011 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.69) (envelope-from ) id 1Psi47-0004Ns-7L for geh-help-gnu-emacs@m.gmane.org; Thu, 24 Feb 2011 21:45:35 +0100 Original-Received: from localhost ([127.0.0.1]:59022 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Psi46-0008VL-Ln for geh-help-gnu-emacs@m.gmane.org; Thu, 24 Feb 2011 15:45:34 -0500 Original-Received: from [140.186.70.92] (port=57159 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PsgVI-0002WG-Nf for help-gnu-emacs@gnu.org; Thu, 24 Feb 2011 14:05:33 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PsgVH-0001c4-HG for help-gnu-emacs@gnu.org; Thu, 24 Feb 2011 14:05:32 -0500 Original-Received: from mail-iy0-f169.google.com ([209.85.210.169]:52321) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PsgVH-0001c0-BZ for help-gnu-emacs@gnu.org; Thu, 24 Feb 2011 14:05:31 -0500 Original-Received: by iyf13 with SMTP id 13so585032iyf.0 for ; Thu, 24 Feb 2011 11:05:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:from:date :x-google-sender-auth:message-id:subject:to:content-type; bh=W20zgwWQrd4BLHZpiubib1bLiKcnwa3HX9s2MBQR7lY=; b=bHiUBGroxQ1SPEwYXaKUcjnnRTiutGi42v/vbTBqDAL7ukalIU+m0mr3wkxXul3cw7 MLn+cuiji5ITxdc5t3lUSN+44bkLZJ1xYCtmsjssTVOQVfEfEj7CFzupIsjTf9wWji/v Ja4Oxx2CrF7qOw+J/mYlZJ/OUF1zjCWFhqxiY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:from:date:x-google-sender-auth:message-id :subject:to:content-type; b=CklYH2gPOm8DecNOTwtaqEq2EHU3XzW14IvVR5Nqrlt9/Jv6IeHyLzNzPZanyn4L7p hlJJfY0dVqDGYPW0Q+n2hraCLusTf6XbnlhSu8GqfDl7zYhPzfNm6/FM4xg1+VPzSJbx Q5FR9jdaQsgUXf7MD/kDpWzWSeqhSIGgsxR1w= Original-Received: by 10.231.16.137 with SMTP id o9mr1938553iba.158.1298574330119; Thu, 24 Feb 2011 11:05:30 -0800 (PST) Original-Received: by 10.231.19.70 with HTTP; Thu, 24 Feb 2011 11:05:10 -0800 (PST) X-Google-Sender-Auth: BLqV4TLcnjbPO_hsQXEE6Fux1yk X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.210.169 X-Mailman-Approved-At: Thu, 24 Feb 2011 15:44:29 -0500 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:79447 Archived-At: I am using GNU Emacs 23.2.92.1 (x86_64-apple-darwin, NS apple-appkit-1038.35) of 2011-01-15 on black.porkrind.org on an iMac running OSX 10.6.6. When I try to list the home directory on my website with C-x C-d /ftp.vanhoecke.org:vanhoecke/www.vanhoecke.org/web/content ange-ftp immediately starts to access the remote ftp server as soon as I type the ':', but it fails. Here's the transcript of the internal ange-ftp buffer: ftp> open ftp.vanhoecke.org Connected to ftp.vanhoecke.org. 220 Microsoft FTP Service ftp> user "guido.vanhoecke@vanhoecke.org" Turtle Power! 331 Password required for guido.vanhoecke@vanhoecke.org. 230 User logged in. Remote system type is Windows_NT. ftp> hash Hash mark printing on (1024 bytes/hash mark). ftp> pwd Remote directory: / ftp> pwd Remote directory: / ftp> passive on Passive mode: on; fallback to active mode: off. ftp> get ~ /dev/null local: /dev/null remote: ~ 229 Entering Extended Passive Mode (|||5504|) 550 The system cannot find the file specified. ftp> get ~ /dev/null local: /dev/null remote: ~ 229 Entering Extended Passive Mode (|||5505|) 550 The system cannot find the file specified. ftp> pwd Remote directory: / ftp> pwd Remote directory: / ftp> The corresponding section of the *Messages* buffer reads: Opening FTP connection to ftp.vanhoecke.org...done Logging in as user guido.vanhoecke@vanhoecke.org@ftp.vanhoecke.org...done Getting PWD... [2 times] Warning! Unable to get home directory Trying passive mode...... expanding ~... [2 times] Getting PWD... [2 times] expanding ~... [2 times] Getting PWD... [2 times] byte-code: Unable to obtain CWD Mark set The remote ftp server uses the unix directory listing format, and the password is provided through my ~/.netrc. The userid provided to me by my ISP is an email address: guido.vanhoecke@vanhoecke.org. This is an unusual userid, but I have no problem addressing this server from within Midnight Commander (using /#ftp:ftp.vanhoecke.org/vanhoecke/www.vanhoecke.org/web/content as address) nor from within Vim (using ftp://ftp.vanhoecke.org/vanhoecke/www.vanhoecke.org/web/content/). I am pretty sure that I managed to edit these remote files from within Emacs before, from Ubuntu as well as from Microsoft XP. In order to test this without interference from my ~/.emacs and customizations, I launched 'emacs -nw -q' in a terminal and tried to list the remote directory. Same result: it tries to get the ~ directory and fails. Funny thing is that it works on 'GNU Emacs 23.2.1 (i386-mingw-nt6.1.7600) of 2010-05-08 on G41R2F1' running in a VMWare Windows7 client on this same iMac: open ftp.vanhoecke.org Connected to ftp.vanhoecke.org. 220 Microsoft FTP Service user "guido.vanhoecke@vanhoecke.org" Turtle Power! 331 Password required for guido.vanhoecke@vanhoecke.org. 230 User logged in. hash Hash mark printing On ftp: (2048 bytes/hash mark) . pwd 257 "/" is current directory. cd "/" 250 CWD command successful. ls -al c:/Users/guivho/AppData/Local/Temp/ange-ftp2324Fbq 200 PORT command successful. 125 Data connection already open; Transfer starting. 226 Transfer complete. ftp: 1194 bytes received in Seconds Kbytes/sec. Any suggestions about how I could tackle this problem? I may be a viper user, but it still is kind of embarassing that I have to launch Gvim to edit my remote files... TIA for any advice and/or help, guivho.