Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Jan 2010 18:29:38 -0500
From:      Jerry McAllister <jerrymc@msu.edu>
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:  <20100127232938.GB54380@gizmo.acns.msu.edu>
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 02:08:40PM -0800, Dixit, Viraj 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

Sounds like you might want to learn about  rsync.   It is in
the ports, probably //usr/ports/net/rsync

It will work unattended if you sent up public/private key SSH.

////jerry



> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"



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