Re: How to delete a not empty directory on FTP Server via ftp on freebsd 5.3

From: Philip Hallstrom (freebsd_at_philip.pjkh.com)
Date: 04/29/05

  • Next message: Damian Sobieralski: "NovaNet"
    Date: Fri, 29 Apr 2005 09:00:09 -0700 (PDT)
    To: liu jiachang <ljc020930@yahoo.com.cn>
    
    

    > 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
    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"


  • Next message: Damian Sobieralski: "NovaNet"

    Relevant Pages

    • Re: Job Stream via FTP
      ... This is a specific instance of the general rule that, if an FTP client doesn't understand the command you wish to send to the FTP server, you should "quote" it, as it were. ...
      (bit.listserv.ibm-main)
    • Re: FTP transfer problems
      ... The MPEiX FTP client is simply terminating ... If it is then what command does one run from ... * To join/leave the list, search archives, change list settings, * ...
      (comp.sys.hp.mpe)
    • Re: Problem about Window Xp SP2 firewall and the buildin FTP command
      ... I copy your example ftp command file to a.txt saved in C:\dell folder. ... I cannot turn off Windows Firewall, since it is controlled by Domain ...
      (microsoft.public.windowsxp.general)
    • [NT] Multiple Vulnerabilities Found in PlatinumFTPserver
      ... A vulnerability in the product allows remote attackers to cause the server ... to traverse into directories that reside outside the bounding FTP root ... delete files and perform a DoS attack on the server. ... 200 PORT command successful ...
      (Securiteam)
    • Re: FTP strangeness
      ... Listing an empty existing directory shouldn't return an error code. ... servers cannot issue a 550 reply to a LIST command. ... As demonstrated more than just VMS ftp servers do the latter - for situations ... In any case an FTP client should comply with the robustness principle of RFC ...
      (comp.os.vms)