From owner-freebsd-questions@FreeBSD.ORG Fri Apr 29 16:00:15 2005 Return-Path: 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 5E99216A4D0 for ; Fri, 29 Apr 2005 16:00:15 +0000 (GMT) Received: from zhonka1.zhonka.net (zhonka1.zhonka.net [66.228.195.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id C95BE43D49 for ; Fri, 29 Apr 2005 16:00:14 +0000 (GMT) (envelope-from freebsd@philip.pjkh.com) Received: from wolf.pjkh.com ([66.228.196.74]) by zhonka1.zhonka.net (Post.Office MTA v3.5.3 release 223 ID# 0-58414U4500L450S0V35) with ESMTP id net; Fri, 29 Apr 2005 09:00:14 -0700 Received: from localhost (localhost [127.0.0.1]) by wolf.pjkh.com (Postfix) with ESMTP id 637395825; Fri, 29 Apr 2005 09:00:09 -0700 (PDT) Received: from wolf.pjkh.com ([127.0.0.1]) by localhost (wolf.pjkh.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 10107-06; Fri, 29 Apr 2005 09:00:09 -0700 (PDT) Received: by wolf.pjkh.com (Postfix, from userid 1000) id 2A61C5824; Fri, 29 Apr 2005 09:00:09 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by wolf.pjkh.com (Postfix) with ESMTP id 23E9D57BA; Fri, 29 Apr 2005 09:00:09 -0700 (PDT) Date: Fri, 29 Apr 2005 09:00:09 -0700 (PDT) From: Philip Hallstrom To: liu jiachang In-Reply-To: <20050429133418.31802.qmail@web15803.mail.cnb.yahoo.com> Message-ID: <20050429085824.O10626@wolf.pjkh.com> References: <20050429133418.31802.qmail@web15803.mail.cnb.yahoo.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: by amavisd-new at pjkh.com cc: freebsd-questions@freebsd.org Subject: Re: How to delete a not empty directory on FTP Server via ftp on freebsd 5.3 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Apr 2005 16:00:15 -0000 > I signed up a account to have a ftp space to upload my > web files. And it needs manangered by myself via ftp. > But I have to said that I am a newbie on freebsd. > > when I type ftp at my shell, and successed long in ftp > server. But I don't know how to delete directory via > the command of ftp. I had searched some information > about that, and 'man ftp'. But I only know that there > are 'delete(file)' and 'rmdir(empty diretory) command, > I tied to typed 'rm -r Diretory-Name' and 'mv -f > Diretory-Name'(as on my csh), but I faied. > > Can you tell me where I can find more information > about the command of ftp(I enjoy command better, not > GUI ftp client if possible) Once connected via ftp, type "help". That will give you a list of commands available. You can then type things like "help rmdir", etc. Also, if you like the command line, but want a little more functionality from your ftp client, check out ncftp... http://www.freebsd.org/cgi/url.cgi?ports/ftp/ncftp3/pkg-descr -philip