cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: How to delete a file from ftp ?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 2 Aug 2006 09:05:12 +0200 (CEST)

On Wed, 2 Aug 2006, Kostya Tomilin wrote:

> Unfortunately faq example does not work for me :(
>
> " curl -O ftp://download.com/coolfile -Q '-DELE coolfile' "
> reply is:
> curl: (21) QUOT command failed with 500
>
> Any suggestions ?

Yes: use -v to see the full communication and figure out why it failed. That
is how you do it...

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2006-08-02