Date: Sun, 27 Aug 2000 14:25:24 -0600 (CST) From: Ryan Thompson <ryan@sasknow.com> To: Tony Fleisher <takhus@takhus.mind.net> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Sending '@' in a password for ftp(1) Message-ID: <Pine.BSF.4.21.0008271424210.83242-100000@ren.sasknow.com> In-Reply-To: <Pine.BSF.4.21.0008271248570.56153-100000@takhus-home.ashlandfn.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <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.0008271424210.83242-100000>