From owner-freebsd-questions Sun Aug 27 13:22:20 2000 Delivered-To: freebsd-questions@freebsd.org Received: from ren.sasknow.com (ren.sasknow.com [207.195.92.131]) by hub.freebsd.org (Postfix) with ESMTP id 76B9B37B423 for ; Sun, 27 Aug 2000 13:22:17 -0700 (PDT) Received: from localhost (ryan@localhost) by ren.sasknow.com (8.9.3/8.9.3) with ESMTP id OAA83310; Sun, 27 Aug 2000 14:25:24 -0600 (CST) (envelope-from ryan@sasknow.com) Date: Sun, 27 Aug 2000 14:25:24 -0600 (CST) From: Ryan Thompson To: Tony Fleisher Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Sending '@' in a password for ftp(1) In-Reply-To: Message-ID: Organization: SaskNow Technologies [www.sasknow.com] MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Tony Fleisher wrote to Ryan Thompson: > On Sun, 27 Aug 2000, Ryan Thompson wrote: > > > > > Hi everybody, > > > > How do I send an '@' symbol as part of a password for ftp(1), using the > > syntax: > > > > ftp ftp://user:password@host/path/file > > > > As part of a shell script, I'm trying to connect to an anonymous FTP > > server, but the wu-ftpd server requires a properly formatted email address > > as a password, and will disconnect otherwise. So, I need something like: > > > > ftp ftp://ftp:ryan\@sasknow.com@ftp.server.com/path/file > > > > It appears, from some tests I just ran on my -current system, that the > fetch(1) program sends 'username@host' as the password with anonymous ftp > (whereas the ftp(1) seems to send just 'username@'). > > Try this: > fetch ftp://ftp.server.com/path/file Got it! Forgot about fetch. Thanks. -- Ryan Thompson Network Administrator, Accounts Phone: +1 (306) 664-1161 SaskNow Technologies http://www.sasknow.com #106-380 3120 8th St E Saskatoon, SK S7H 0W2 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message