From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "rgb" Newsgroups: gmane.emacs.help Subject: Re: Using ange-ftp with a @ in the login... Date: 21 Jul 2005 15:56:17 -0700 Organization: http://groups.google.com Message-ID: <1121986577.431553.40380@f14g2000cwb.googlegroups.com> References: <87br54imab.fsf-monnier+gnu.emacs.help@gnu.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: sea.gmane.org 1121986727 5940 80.91.229.2 (21 Jul 2005 22:58:47 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 21 Jul 2005 22:58:47 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jul 22 00:58:45 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Dvjzr-0006AO-FM for geh-help-gnu-emacs@m.gmane.org; Fri, 22 Jul 2005 00:58:31 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dvk1y-0000RD-05 for geh-help-gnu-emacs@m.gmane.org; Thu, 21 Jul 2005 19:00:42 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!f14g2000cwb.googlegroups.com!not-for-mail Original-Newsgroups: comp.emacs,gnu.emacs.help Original-Lines: 30 Original-NNTP-Posting-Host: 198.74.20.74 Original-X-Trace: posting.google.com 1121986583 21216 127.0.0.1 (21 Jul 2005 22:56:23 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Thu, 21 Jul 2005 22:56:23 +0000 (UTC) User-Agent: G2/0.2 Complaints-To: groups-abuse@google.com Injection-Info: f14g2000cwb.googlegroups.com; posting-host=198.74.20.74; posting-account=C7LM4w0AAAD23IRuMuUUJVCLQTuHhTK8 Original-Xref: shelby.stanford.edu comp.emacs:89714 gnu.emacs.help:132554 Original-To: help-gnu-emacs@gnu.org 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:28071 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:28071 Stefan Monnier wrote: > > is there a way to use ange-ftp when there is (unfortunately) a @ in the > > login-name ? > > Have you tried the obvious /foo@bar@host:... ? > > > Btw, i tried using .netrc but since i'm using ntemacs i just don't know > > where to put the .netrc file in windows. > > I'd guess ~/.netrc is the place, if there's one. > It is the right place but there was a bug in Tramp preventing it from being found under certain circumstances. I reported it and got a fix a couple days ago. I imagine CVS should have the fix shortly if it's not there already. Using .netrc or maybe (ange-ftp-set-user machine login) or such are the only ways to access using an ID containing @. The regexp that detects remote file names obviously parses /protocol:id@sys@system:/path as protocol id sys@system /path rather than protocol id@sys system /path I guess that's another bug but I'll leave the reporting to someone who can actually test any fix that might come out.