From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kin Cho Newsgroups: gmane.emacs.help Subject: tramp: plain ftp problem Date: 23 Jun 2003 16:30:31 -0700 Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <7iy8zswew8.fsf@neoscale.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1056411492 29757 80.91.224.249 (23 Jun 2003 23:38:12 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 23 Jun 2003 23:38:12 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Tue Jun 24 01:38:10 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19Uat0-0007jo-00 for ; Tue, 24 Jun 2003 01:38:10 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19UaqR-0007ad-Fk for gnu-help-gnu-emacs@m.gmane.org; Mon, 23 Jun 2003 19:35:31 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fu-berlin.de!uni-berlin.de!12.24.46.66!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 59 Original-NNTP-Posting-Host: 12.24.46.66 Original-X-Trace: fu-berlin.de 1056411034 26934845 12.24.46.66 (16 [151019]) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 Original-Xref: shelby.stanford.edu gnu.emacs.help:114666 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:11159 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:11159 Hi, I'm running tramp 2.0.35. I wanted to ftp to a box (called "guiness") which supports ftp. The box supports ssh too, but the tramp startup overhead is a bit much and I like to avoid typing passwords which scp requires :(. I used this sytax: /ftp:root@guiness:/knbt/ The dired listing works fine. However, I got an error retrieving a file ("log") from the dired listing. If I eval this at the top level: (file-symlink-p "/ftp:root@guiness:/knbt/log") I simply got nil. If I don't load tramp, ange-ftp works fine retrieving the same file. I'm using: GNU Emacs 21.3.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2003-04-21 on nscldt26 Thanks. -kin Debugger entered--Lisp error: (ftp-error "FTP Error: OPEN request failed: ftp: ftp: Name or service not known") signal(ftp-error ("FTP Error: OPEN request failed: ftp: ftp: Name or service not known")) ange-ftp-error("ftp" "kin" "OPEN request failed: ftp: ftp: Name or service not known") ange-ftp-normal-login("ftp" "kin" "123" "" #) ange-ftp-get-process("ftp" "kin") ange-ftp-host-type("ftp" "kin") ange-ftp-expand-dir("ftp" "kin" "~") ange-ftp-canonize-filename("/ftp:root@guiness:/knbt/log") ange-ftp-expand-file-name("/ftp:root@guiness:/knbt/log" nil) apply(ange-ftp-expand-file-name ("/ftp:root@guiness:/knbt/log" nil)) ange-ftp-hook-function(expand-file-name "/ftp:root@guiness:/knbt/log" nil) apply(ange-ftp-hook-function expand-file-name ("/ftp:root@guiness:/knbt/log" nil)) tramp-ftp-file-name-handler(expand-file-name "/ftp:root@guiness:/knbt/log" nil) apply(tramp-ftp-file-name-handler expand-file-name ("/ftp:root@guiness:/knbt/log" nil)) tramp-file-name-handler(expand-file-name "/ftp:root@guiness:/knbt/log" nil) file-symlink-p("/ftp:root@guiness:/knbt/log") vc-find-file-hook() run-hooks(find-file-hooks) after-find-file(nil t) find-file-noselect-1(# "/ftp:root@guiness:/knbt/log" nil nil "/ftp:root@guiness:/knbt/log" (2 -1)) find-file-noselect("/ftp:root@guiness:/knbt/log" nil nil nil) ad-Orig-find-file("/ftp:root@guiness:/knbt/log" nil) (setq ad-return-value (ad-Orig-find-file filename wildcards)) (let (ad-return-value) (setq ad-return-value (ad-Orig-find-file filename wildcards)) ad-return-value) find-file("/ftp:root@guiness:/knbt/log") dired-advertised-find-file() call-interactively(dired-advertised-find-file)