From owner-freebsd-questions@FreeBSD.ORG Wed Jan 27 23:30:45 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 45227106566B for ; Wed, 27 Jan 2010 23:30:45 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id 0588D8FC21 for ; Wed, 27 Jan 2010 23:30:44 +0000 (UTC) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id o0RNTdug055259; Wed, 27 Jan 2010 18:29:39 -0500 (EST) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id o0RNTcHj055256; Wed, 27 Jan 2010 18:29:38 -0500 (EST) (envelope-from jerrymc) Date: Wed, 27 Jan 2010 18:29:38 -0500 From: Jerry McAllister To: "Dixit, Viraj" Message-ID: <20100127232938.GB54380@gizmo.acns.msu.edu> References: <9A8CAB63B4C2014B883AF16FDFB362FB01F016C5@xpo.staff.copa> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9A8CAB63B4C2014B883AF16FDFB362FB01F016C5@xpo.staff.copa> User-Agent: Mutt/1.4.2.2i Cc: freebsd-questions@freebsd.org Subject: Re: Is their Automatic command to send a JPG file using FTP X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Jan 2010 23:30:45 -0000 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"