From owner-freebsd-questions@FreeBSD.ORG Wed Jan 27 22:53:39 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 478FC1065692 for ; Wed, 27 Jan 2010 22:53:39 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from email1.allantgroup.com (email1.emsphone.com [199.67.51.115]) by mx1.freebsd.org (Postfix) with ESMTP id 0C7E08FC1F for ; Wed, 27 Jan 2010 22:53:38 +0000 (UTC) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by email1.allantgroup.com (8.14.0/8.14.0) with ESMTP id o0RMrZgF072100 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 27 Jan 2010 16:53:35 -0600 (CST) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (smmsp@localhost [127.0.0.1]) by dan.emsphone.com (8.14.4/8.14.3) with ESMTP id o0RMrYsM077719 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 27 Jan 2010 16:53:35 -0600 (CST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.4/8.14.3/Submit) id o0RMrYeg077696; Wed, 27 Jan 2010 16:53:34 -0600 (CST) (envelope-from dan) Date: Wed, 27 Jan 2010 16:53:34 -0600 From: Dan Nelson To: "Dixit, Viraj" Message-ID: <20100127225334.GX50360@dan.emsphone.com> 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> X-OS: FreeBSD 7.2-STABLE User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: clamav-milter 0.95.3 at email1.allantgroup.com X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (email1.allantgroup.com [199.67.51.78]); Wed, 27 Jan 2010 16:53:35 -0600 (CST) X-Scanned-By: MIMEDefang 2.45 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 22:53:39 -0000 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