Date: Sun, 27 Aug 2000 13:31:50 -0600 (CST) From: Ryan Thompson <ryan@sasknow.com> To: Kent Stewart <kstewart@urx.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Sending '@' in a password for ftp(1) Message-ID: <Pine.BSF.4.21.0008271329330.11846-100000@ren.sasknow.com> In-Reply-To: <39A96A48.17306B38@urx.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <ryan@sasknow.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0008271329330.11846-100000>