cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Removing remote files from FTP site using Curl.

From: Derek Goring <nztideman_at_yahoo.co.nz>
Date: Sat, 2 Apr 2005 09:08:11 +1200 (NZST)

Dominique <curl-users_at_d242.net> wrote:
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"

Interesting...........

I always use -Q

And I can't find -X in my manual.

Is it an undocumented feature?

 

________________
Derek Goring
Mulgor Consulting Ltd
24 Brockworth Place
Christchurch, New Zealand
Phone: 64 3 343 5400
Mobile: 64 272 777 639
Website: www.mulgor.co.nz
                
---------------------------------
Do you Yahoo!?
 Better first dates. More second dates. Yahoo! Personals
Received on 2005-04-01