cURL / Mailing Lists / curl-library / Single Mail


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