cURL / Mailing Lists / curl-users / Single Mail

curl-users

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

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Fri, 9 Jan 2009 11:35:39 -0800

On Fri, Jan 09, 2009 at 07:05:18PM +0000, G. T. Stresen-Reuter wrote:
> 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.
>
> I guess this is something I can live with, though, so, unless someone has
> another idea, thanks for the help!

If you don't want curl to download a nonexistent file then don't give it a
nonexistent URL. In this case, giving a URL of ftp://domain.com/ should
work since curl won't attempt to download a directory.

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
-------------------------------------------------------------------
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