in reply to Need syntax help for Net::FTP::Quot

According to Wikipedia, the FTP copmmand to delete is DELE.

Some FTP servers support "DEL" and "delete". Try DELE.

SOme FTP servers are fussy about funny characters in the file name. Hopefully, your $Target is simple.

        ...it is unhealthy to remain near things that are in the process of blowing up.     man page for WARP, by Larry Wall

  • Comment on Re: Need syntax help for Net::FTP::Quot

Replies are listed 'Best First'.
Re^2: Need syntax help for Net::FTP::Quot
by Todd Chester (Scribe) on Feb 10, 2017 at 18:41 UTC
    Thank you!

    I was thinking in terms of what I have seen in ftp clients and not what was in the RFC.

    Now to figure out if it is ( "DELE", "$Target" ) or ( "DELE $Target" ), which shouldn't be too hard
      The RFC says:

      DELE <SP> <pathname> <CRLF>

      And I have no idea what <SP> means. I hope it means "space"
        The RFC also says: "<SP> (Space, ASCII code 32, EBCDIC code 64)".