From owner-freebsd-questions@FreeBSD.ORG Thu Jan 28 00:54:03 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 B8EEA1065672 for ; Thu, 28 Jan 2010 00:54:03 +0000 (UTC) (envelope-from j65nko@gmail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.26]) by mx1.freebsd.org (Postfix) with ESMTP id 4DE268FC0A for ; Thu, 28 Jan 2010 00:54:03 +0000 (UTC) Received: by ey-out-2122.google.com with SMTP id 25so1296247eya.3 for ; Wed, 27 Jan 2010 16:54:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=ZD1k0dIeAjqHh34GxIzDrDTPuTu662vH/W4aCd+Ljh4=; b=SNHN2nlNmypvhmjcJOzObyJ4BTa3nrlNZcSVvaGhtCD3urx3W/hytwJbnGf4SguXZ0 I1KxiJfLxQ1dv2ckzXvph5+bndEW57CFo4Eql0ObMegYzzGS2R6+Cun4A57cTeocjI1c klPIYmLI5fPXCtUn5tGDvACkYYEFQ0rUzD50w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=joUsEgYTNrJ8URFX09rxzQOsnAkk0W/vfb3tLlS52OCies8nR57SW89soOqmXdaoUB TsfxZPvvtazeKZ5VZeVbC6fBPFog3sdnshuDe26mehSfsmdWzGJxpd7OtxByuR5OA1rY LXo6imCyV+XnNO3H7juTneQ0DdDecMp5sLax0= MIME-Version: 1.0 Received: by 10.213.109.212 with SMTP id k20mr2481379ebp.32.1264640042110; Wed, 27 Jan 2010 16:54:02 -0800 (PST) In-Reply-To: <9A8CAB63B4C2014B883AF16FDFB362FB01F016C5@xpo.staff.copa> References: <9A8CAB63B4C2014B883AF16FDFB362FB01F016C5@xpo.staff.copa> Date: Thu, 28 Jan 2010 01:54:01 +0100 Message-ID: <19861fba1001271654o5ede6ca6k450c53c5b235e4b9@mail.gmail.com> From: J65nko To: "Dixit, Viraj" Content-Type: text/plain; charset=ISO-8859-1 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: Thu, 28 Jan 2010 00:54:03 -0000 On Wed, Jan 27, 2010 at 11:08 PM, 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 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