Date: Tue, 20 Aug 2002 09:49:53 +0200 From: Andreas Wideroe Andersen <awand@pragma.no> To: bill <bill@TechServSys.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: ftp/ftpd Message-ID: <3D61F4A1.1080905@pragma.no> References: <3D615AD9.16428.7779C39@localhost>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3D61F4A1.1080905>