Haxx ad

curl's project page on


cURL > Mailing List > Monthly Index > Single Mail

curl-library Mailing List Archives

Re: Removing directory from ftp server

From: bhuvanagiri <>
Date: Sun, 10 Oct 2010 21:53:53 +0530

On Fri, Oct 8, 2010 at 9:12 PM, Dan Fandrich <> wrote:

> On Fri, Oct 08, 2010 at 04:44:01PM +0530, bhuvanagiri wrote:
> > I have a requirement to delete a directory (with files and
> sub-directories)
> > from an ftp server. I tried passing "rmdir" and "mdelete" commands
> through
> > quote option. But, neither of them worked.
> > Does curl support deletion of a directory from ftp server?
> curl supports sending arbitrary commands to an FTP server through the
> quote mechanism. RFC959 documents the RMD command as the one to delete
> a directory.
> >>> Dan
> -------------------------------------------------------------------
> List admin:
> Etiquette:

Thank you.
RMD fails to delete the directory if it is not empty. I want to delete the
directory, its sub-directories and contents inside. How can this be done
through curl?

Thank you,

List admin:
Received on 2010-10-10

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET