Re: Delete command in FTP

From: Alun Jones [MSFT] (alunj_at_online.microsoft.com)
Date: 06/28/04

  • Next message: io: "Re: How to make ftp server less verbose"
    Date: Mon, 28 Jun 2004 15:36:30 -0700
    
    

    "Andy" <akasotia@guidemail.com> wrote in message
    news:acd1015f.0406281424.494584f5@posting.google.com...
    > Is there a way to delete all the files (like delete all) on a ftp
    > server without specifying delete commands for each file name?

    The FTP protocol itself only specifies a command to delete a single file, or
    to remove a single directory. However, most FTP clients have the ability to
    delete multiple files. In a graphical FTP client, you would usually select
    all the files you want to delete and hit the Delete key. In a command-line
    FTP client, you would normally turn off the interactive prompting ("Delete
    this file? And this file? And this file?" gets a little old) using the
    "prompt" command, and follow that up with the "mdelete" command - multiple
    delete.

    Alun.
    ~~~~


  • Next message: io: "Re: How to make ftp server less verbose"

    Relevant Pages

    • 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)
    • Re: FTP PUT with Store Unique
      ... years ago but had totally forgotten - I appreciated that the STOU command is ... covers the point I want to make which is that the FTP client commands are ... An SUNIQUE command compatible ...
      (bit.listserv.ibm-main)
    • Re: FTP PUT with Store Unique
      ... The best list for topics related to the Communications Server IP ... command or vice versa. ... Instructs the FTP client not to include a name with the STOU ... -- If NONAME is in effect, no name string specifying a foreign_file value follows ...
      (bit.listserv.ibm-main)
    • Re: FTP PUT with Store Unique
      ... a date/time stamp into the name before the FTP step. ... I foolishly assumed when I saw the SUnique parameter that - of course! ... command or vice versa. ... -- If NAME is in effect, the name string specifying a foreign_file value ...
      (bit.listserv.ibm-main)
    • 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)

    Loading