From owner-freebsd-questions Tue Aug 20 0:49: 9 2002 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 397C737B400 for ; Tue, 20 Aug 2002 00:49:04 -0700 (PDT) Received: from vixen.pragma.no (vixen.pragma.no [212.20.194.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 09C3743E70 for ; Tue, 20 Aug 2002 00:49:03 -0700 (PDT) (envelope-from awand@pragma.no) Received: from pragma.no (kornelius.pragma.no [212.20.194.172]) by vixen.pragma.no (Netscape Messaging Server 4.15) with ESMTP id H14TR500.34E; Tue, 20 Aug 2002 09:49:53 +0200 Message-ID: <3D61F4A1.1080905@pragma.no> Date: Tue, 20 Aug 2002 09:49:53 +0200 From: Andreas Wideroe Andersen User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.2) Gecko/20010726 Netscape6/6.1 X-Accept-Language: en-us MIME-Version: 1.0 To: bill Cc: freebsd-questions@FreeBSD.ORG Subject: Re: ftp/ftpd References: <3D615AD9.16428.7779C39@localhost> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 bill wrote: [snip] >>Bill, >>Here's how I'd do it the FTP way: >> >>Log into the SCO machine. Create a .tar file of all folders and >>files you want to move (man tar) -> tar -cf files.tgz >>/your/dir/goes/here --gzip. >> >>FreeBSD: Make sure you have ftpd or similare installed on the >>FreeBSD machine -> ps -ef | grep ftpd >> >>If not, go to /usr/ports/ftp and install. >> >>When you have ftpd running do this: >> >>Log into the FreeBSD server and create a useraccount with home dir >>to where your www files should be placed. Make sure you set the >>correct permissions and ownerships. >> >>Go back to the SCO machine. >> >>Now type: >> >>#ftp foo.freebsd.com (your FreeBSD machine hostname or IP) and log in. >> >>The built in ftpd should answer to ftp connections and direct you to >>the home dir of the user you log in with. >> >>Now you can simply issue the following commands: >> >> >bin >> >hash >> >put files.tgz >> >bye >> >>Finally, log into the FreeBSD machine, type tar -xvf file.tar and >>move the extracted files to where you want them to be placed. >> >>Best of luck! >>/Andreas >> >> > > thank you VERY MUCH for all the detail. > with the exception of not wanting to go to the freeBSD machine to untar it > looks great. > > how about I do exactly as you said, but instead of taring the files just do a > mput of each directory, moving to new directories on the target machine as > needed. This is mostly for maintenance after the initial load and will just be a > page her or there as I update the site. Sure, but I don't think the default ftp client supports recursive directories upload/download. I usually install and use ncftp (http://www.ncftpd.com/) which is a great *nix ftp client I think. /Andreas To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message