cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Removing directory from ftp server

From: Dan Fandrich <dan_at_coneharvesters.com>
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: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-10-08