From owner-freebsd-questions@FreeBSD.ORG Mon Jan 30 06:37:35 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 39C3716A420 for ; Mon, 30 Jan 2006 06:37:35 +0000 (GMT) (envelope-from christou44@yahoo.com) Received: from web37113.mail.mud.yahoo.com (web37113.mail.mud.yahoo.com [209.191.85.115]) by mx1.FreeBSD.org (Postfix) with SMTP id B4E1543D48 for ; Mon, 30 Jan 2006 06:37:34 +0000 (GMT) (envelope-from christou44@yahoo.com) Received: (qmail 2903 invoked by uid 60001); 30 Jan 2006 06:37:34 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=e8RnRrbAtnICjTqX6x6PTNVVovn1PUiteuQgjIM1Ds4pX3pBIu8lQcPOKdfwVv4tRenDkFYgA/teSSivah2837m2pEtuNcd4T+IEdboAWid5A//vlb5/CazDY4tTjHteldHeZnBdt/Xr/vr/EquHZP7c35ZiNaH7O6Kc2BbDlTE= ; Message-ID: <20060130063734.2901.qmail@web37113.mail.mud.yahoo.com> Received: from [61.95.65.37] by web37113.mail.mud.yahoo.com via HTTP; Sun, 29 Jan 2006 22:37:34 PST Date: Sun, 29 Jan 2006 22:37:34 -0800 (PST) From: Angelo Christou To: a non y mouse , Gavin Cameron In-Reply-To: <43DD9DD8.6040102@forea.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: freebsd-questions@freebsd.org Subject: Re: FTP Automate Shell Script 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: Mon, 30 Jan 2006 06:37:35 -0000 > > A .netrc file (read the ftp man page) may work for > you. > > > > Cheers > > Gavin > > If you have shell access on the destination host, > you can also try mirror. Thanks for the many suggestions, I will be looking into them all (.netrc doesn't work yet, still trying). I am still curious why the password isn't working though. Is it possible that you can not script this? The script works by creating the following temp file and piping it to ftp. angelo cd /images put img00234.jpg img00234.jpg put img00235.jpg img00235.jpg put img00236.jpg img00236.jpg put ftp.sh ftp.sh quit I tried - angelo mysecret cd /images put img00234.jpg img00234.jpg put ftp.sh ftp.sh quit and angelo mysecret cd /images put img00234.jpg img00234.jpg put ftp.sh ftp.sh quit Neither seem to work. I'm also not sure how to NOT copy the actual file too :) Thanks again.. Ang. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com