From owner-freebsd-questions Mon Dec 13 8:59:15 1999 Delivered-To: freebsd-questions@freebsd.org Received: from ns1.ibroadcast.net (ns1.ibroadcast.net [216.145.30.2]) by hub.freebsd.org (Postfix) with SMTP id 12FCD15150 for ; Mon, 13 Dec 1999 08:59:13 -0800 (PST) (envelope-from majid@ibroadcast.net) Received: from darthmaul ([216.145.29.142]) by ns1.ibroadcast.net (8.9.3/8.8.8) with SMTP id IAA03639; Mon, 13 Dec 1999 08:58:44 -0800 (PST) X-Intended-For: questions@FreeBSD.org Message-ID: <00c401bf4548$765f6b70$8e1d91d8@ibroadcast.net> From: "Majid Almassari" To: "Peter Kok" Cc: "questions@FreeBSD.ORG" References: <38551FE5.C51CB20@stlinux.ouhk.edu.hk> Subject: Re: command abt 'ftp' and 'cp' Date: Mon, 13 Dec 1999 09:00:11 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 1)I think you can login as root using FTP but I strongly advise against it. You need to edit the /etc/login.conf to allow that. 2)If you are copying a whloe directory from one location to another on the same host then use the mv command. Do man mv for details. If you are copying it from host to another then use rcp. Do man rcp for details. If you want to FTP a whole directory then as suggested you can tar it up then FTP or use mput command. Do ? at the FTP command for help. -- Majid Almassari, MSEE, MCP. Systems Administrator iBroadcast, Inc. Phone: (206) 223-5540 Email: majid@ibroadcast.net http://www.ibroadcast.net ----- Original Message ----- From: Peter Kok To: Sent: Monday, December 13, 1999 4:33 PM Subject: command abt 'ftp' and 'cp' > Hello all > > I would like to know: > > 1/ I couldn't use ftp as login as 'root' from outside to connect > freebsd? > But I could login as normal user to make connection. > > 2/ How do I use 'cp' to copy the whole directory to other location. > > I use 'man' to help, but I don't understand! > > Please explain to me > > thank you > > Best regards > Peter > > > > 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