From owner-freebsd-questions Tue Aug 1 14: 5:13 2000 Delivered-To: freebsd-questions@freebsd.org Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (Postfix) with ESMTP id 8274937BD99 for ; Tue, 1 Aug 2000 14:05:08 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.9.3/8.9.3) id QAA05870; Tue, 1 Aug 2000 16:05:03 -0500 (CDT) (envelope-from dan) Date: Tue, 1 Aug 2000 16:05:03 -0500 From: Dan Nelson To: Nathan Vidican Cc: questions@FreeBSD.ORG Subject: Re: ftp upload from script Message-ID: <20000801160503.A4666@dan.emsphone.com> References: <398739CC.713D40B3@wmptl.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline User-Agent: Mutt/1.3.6i In-Reply-To: <398739CC.713D40B3@wmptl.com>; from "Nathan Vidican" on Tue Aug 1 16:57:48 GMT 2000 X-OS: FreeBSD 5.0-CURRENT Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In the last episode (Aug 01), Nathan Vidican said: > I need to have a script upload three files via FTP, is there anyway > of doing this from a script? for example: > > foreach $filename (@files) { > system("ftp username:pass@ftp.wmptl.net/directory/to/ftp/to < $filename"); > } ncftpget and ncftpput (from the ncftp3 port) are nice for this. > The script is a simple backup script which creates a bunch of tar > files, and it currently emails someone to tell them to manually FTP > said file up. I'd like it to be able to just ftp those files up > automatically when it's finished. (files are 200~635megs). We are > FTP'ing the files into a Windows box which intern dumps them to a > mapped Novell Netware volume which intern has it's own nightly backup > system (24gig tape changer). Why not put an ftp server on the Netware box? We're using the ancient Hellsoft FTPD.NLM and it works fine, but is limited to the DOS namespace. The ftpd that comes with 4.11 is better. -- Dan Nelson dnelson@emsphone.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message