Date: Wed, 27 Jan 2010 16:53:34 -0600 From: Dan Nelson <dnelson@allantgroup.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: <20100127225334.GX50360@dan.emsphone.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
In the last episode (Jan 27), Dixit, Viraj said: > 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, FreeBSD's ftp command supports .netrc files. Is your current script not working? http://www.freebsd.org/cgi/man.cgi?query=ftp#THE_.netrc_FILE -- Dan Nelson dnelson@allantgroup.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100127225334.GX50360>