From owner-freebsd-questions Tue Apr 23 17: 6: 6 2002 Delivered-To: freebsd-questions@freebsd.org Received: from topaz.mdcc.cx (topaz.mdcc.cx [212.204.230.141]) by hub.freebsd.org (Postfix) with ESMTP id 3314137B41A for ; Tue, 23 Apr 2002 17:06:00 -0700 (PDT) Received: from k7.mavetju.org (topaz.mdcc.cx [212.204.230.141]) by topaz.mdcc.cx (Postfix) with ESMTP id 0530B2B671; Wed, 24 Apr 2002 02:05:56 +0200 (CEST) Received: by k7.mavetju.org (Postfix, from userid 1001) id 845047EF; Wed, 24 Apr 2002 10:06:58 +1000 (EST) Date: Wed, 24 Apr 2002 10:06:58 +1000 From: Edwin Groothuis To: Lord Raiden Cc: freebsd-questions@freebsd.org Subject: Re: Using macros with FTP Message-ID: <20020424100658.Q56548@k7.mavetju.org> Mail-Followup-To: Edwin Groothuis , Lord Raiden , freebsd-questions@freebsd.org References: <4.2.0.58.20020423195049.0095f990@pop.netzero.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <4.2.0.58.20020423195049.0095f990@pop.netzero.net>; from raiden23@netzero.net on Tue, Apr 23, 2002 at 07:55:57PM -0400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Apr 23, 2002 at 07:55:57PM -0400, Lord Raiden wrote: > Hi. I was reading the man page on FTP and noticed that it offers a macro > option to automate the grabbing of certain files from an FTP site. Now my > question is say I want to login to a site called "ftp.myftpsite.com" and > had to login using "myusername" and "mypassword". Once I'm in I want to go > to the directory "/pub/ftp/files/myapp/" then down load 3 files in > there. How would I properly setup the command line to execute the macro > and login to that site? Please have a look at http://www.mavetju.org/unix/netrc.php Edwin -- Edwin Groothuis | Personal website: http://www.MavEtJu.org edwin@mavetju.org | Interested in MUDs? Visit Fatal Dimensions: bash$ :(){ :|:&};: | http://www.FatalDimensions.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message