cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Removing remote files from FTP site using Curl.

From: Dominique <curl-users_at_d242.net>
Date: Fri, 1 Apr 2005 01:57:17 +0300

On Thu, Mar 31, 2005 at 04:35:53PM -0600, Mark Wold wrote:
> Is it possible to use curl, to delete/remove a file that exists on a
> remote FTP site? I've been able to do just about anything else that I
> want to do via FTP by just using the curl command line. But can't
> figure out if this feature is even possible.

You can use the -X / --request option.

-X "DELE filename"
Received on 2005-04-01