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: Dan Fandrich <>
Date: Fri, 8 Oct 2010 08:42:04 -0700

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:
Received on 2010-10-08

These mail archives are generated by hypermail.

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

File upload with ASP.NET