[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: .netrc for Auto-login FTP session.
- To: "'Linux IL'" <linux-il(at-nospam)cs.huji.ac.il>
- Subject: Re: .netrc for Auto-login FTP session.
- From: Alex Shnitman <alexsh(at-nospam)hectic.net>
- Date: Thu, 23 Nov 2000 19:30:04 +0200
- In-Reply-To: <A50EDC2109EED311845B009027E09AED0F467A@SUPERMAIL>; from benj@adwise.co.il on Thu, Nov 23, 2000 at 05:26:01PM +0200
- Mail-Followup-To: 'Linux IL' <linux-il@cs.huji.ac.il>
- References: <A50EDC2109EED311845B009027E09AED0F467A@SUPERMAIL>
- Sender: linux-il-bounce(at-nospam)cs.huji.ac.il
- User-Agent: Mutt/1.2.5i
Hi, Benji!
On Thu, Nov 23, 2000 at 05:26:01PM +0200, you wrote the following:
> what i'm actually looking for is a way to give the Login and the Password
> Via script or .netrc file.
> (using normal ftp)
Quite easy:
ftp -n hostname <<END
quote user myself
quote pass secret
get filename
quit
END
--
Alex Shnitman | http://www.debian.org
alexsh@hectic.net, alexsh@linux.org.il +-----------------------
http://alexsh.hectic.net UIN 188956 PGP key on web page
E1 F2 7B 6C A0 31 80 28 63 B8 02 BA 65 C7 8B BA
"Xenix is the pinnacle of modern UNIX design, and will be used for
many years to come."
-- Xenix OS API manual
=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il