From owner-freebsd-questions Mon Nov 2 12:52:30 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA02959 for freebsd-questions-outgoing; Mon, 2 Nov 1998 12:52:30 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from breckenridge.datatimes.com (breckenridge.datatimes.com [206.155.225.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA02954 for ; Mon, 2 Nov 1998 12:52:29 -0800 (PST) (envelope-from ksloan@datatimes.com) Received: from okc-nt02.umi.bhowell.com (unverified [165.215.21.17]) by breckenridge.datatimes.com (Integralis SMTPRS 2.0.15) with SMTP id for ; Mon, 02 Nov 1998 15:01:07 -0600 Received: by okc-nt02.umi.bhowell.com with SMTP (Microsoft Exchange Server Internet Mail Connector Version 4.0.996.62) id <01BE0670.8B666540@okc-nt02.umi.bhowell.com>; Mon, 2 Nov 1998 14:53:25 -0600 Message-Id: From: "Sloan, Kyle" To: "'freebsd-questions@FreeBSD.ORG'" Cc: "'Steven P Yang'" Subject: RE: how do I automate ftp? (clarification) Date: Mon, 2 Nov 1998 14:53:24 -0600 X-Mailer: Microsoft Exchange Server Internet Mail Connector Version 4.0.996.62 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Take a look at the man page for FTP. You can create a file in your home directory named ".netrc". Make sure that it is chmod'd 600, otherwise it won't work. It will probably look something like this: machine mrftp login kyle password goeshere macdef init bin cd /pub lcd /foo put somefilename quit Hope this helps. - Kyle -----Original Message----- From: Steven P Yang [mailto:spyang@MIT.EDU] Sent: Monday, November 02, 1998 1:17 PM To: freebsd-questions@FreeBSD.ORG Subject: how do I automate ftp? (clarification) Hi, about my last e-mail, a specific goal I have in mind for an automated ftp would be the ability to schedule a file transfer at a specific time to a remote ftp server. So, this implies that the ftp script would automatically supply the username and password. I can do this on NT, but don't know if I can do this on FreeBSD. Is this possible? Thanks, Steven To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message