Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Jan 2010 01:54:01 +0100
From:      J65nko <j65nko@gmail.com>
To:        "Dixit, Viraj" <Viraj.Dixit@cityofpaloalto.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Is their Automatic command to send a JPG file using FTP
Message-ID:  <19861fba1001271654o5ede6ca6k450c53c5b235e4b9@mail.gmail.com>
In-Reply-To: <9A8CAB63B4C2014B883AF16FDFB362FB01F016C5@xpo.staff.copa>
References:  <A3114C5FA7BA8E4B8F20A198F8991750D8DD41@xiris.staff.copa> <9A8CAB63B4C2014B883AF16FDFB362FB01F016C5@xpo.staff.copa>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jan 27, 2010 at 11:08 PM, Dixit, Viraj
<Viraj.Dixit@cityofpaloalto.org> wrote:
> Hi,
> I am looking to see if there a command or a script In BSD Os that will
> allow me to ftp to a server automatically and get a file from another
> server. User name and passwd will be already in the script so it will
> run ftp and download a file or a JPG from that server. Like in Linux OS
> there is a command using .netrc file and you can script that file and
> will automatically do what is in the file at time interval that you
> want.  Thanks,
> VJ

Yes, FreeBSD ftp supports .netrc files.

I posted a guide to download a FreeBSD release with a .netrc file at
http://www.daemonforums.org/showthread.php?t=4212



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19861fba1001271654o5ede6ca6k450c53c5b235e4b9>