cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Noob question: quoted DELE command returns 19 on success

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 9 Jan 2009 20:33:50 +0100 (CET)

On Fri, 9 Jan 2009, G. T. Stresen-Reuter wrote:

>> Try adding --head. That will skip the download and should do what you want.
>
> That did indeed reduce the listing that was following the dele command, but
> it still tries to get info on a non-existent file, which returns the 19
> code.

Why not ask for a file that is still present or even a directory listing? Or
even remove the file _after_ the file transfer (with -Q "-DELE..." ).

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users
FAQ:        http://curl.haxx.se/docs/faq.html
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2009-01-09