cURL / Mailing Lists / curl-users / Single Mail

curl-users

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

From: G. T. Stresen-Reuter <tedmasterweb_at_gmail.com>
Date: Fri, 9 Jan 2009 20:03:53 +0000

On Jan 9, 2009, at 7:33 PM, Daniel Stenberg wrote:

> 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..." ).

The minus sign plus removing --head and redirecting output to /dev/
null did the trick!

Thank you all for your help getting this working!

Ted Stresen-Reuter

-------------------------------------------------------------------
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