Date: Mon, 2 Nov 1998 14:53:24 -0600 From: "Sloan, Kyle" <ksloan@datatimes.com> To: "'freebsd-questions@FreeBSD.ORG'" <freebsd-questions@FreeBSD.ORG> Cc: "'Steven P Yang'" <spyang@MIT.EDU> Subject: RE: how do I automate ftp? (clarification) Message-ID: <c=US%a=_%p=UMI%l=OKC-NT02-981102205324Z-282@okc-nt02.umi.bhowell.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c=US%a=_%p=UMI%l=OKC-NT02-981102205324Z-282>