From owner-freebsd-questions Sun Aug 27 12:28:11 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 F128837B424 for ; Sun, 27 Aug 2000 12:28:07 -0700 (PDT) Received: from localhost (ryan@localhost) by ren.sasknow.com (8.9.3/8.9.3) with ESMTP id NAA77552; Sun, 27 Aug 2000 13:31:51 -0600 (CST) (envelope-from ryan@sasknow.com) Date: Sun, 27 Aug 2000 13:31:50 -0600 (CST) From: Ryan Thompson To: Kent Stewart Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Sending '@' in a password for ftp(1) In-Reply-To: <39A96A48.17306B38@urx.com> 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 Kent Stewart wrote to Ryan Thompson: > > > 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 > > It has been a 2.5 years since I was doing something like that. We used > a text file that was redirected as stdin to ftp. We did something like > "ftp < mfg_data" and mfg_data looked like > > open mfg > user anonymous > ryan@sasknow.com > put xxx > quit Yup.. that's easy enough... even easier with .netrc, but if possible, I'd like to find a purely command-line driven solution (i.e., no I/O) so everything can be contained in the script, and no temporary files are needed. Thanks - Ryan > > I realize that .netrc or possibly an expect(1) script would work, but I > > would much rather have something that is purely command-line driven. > > > > Thanks! > > > > - Ryan > > -- 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