curl / Mailing Lists / curl-users / Single Mail

curl-users

Re: Exists?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 6 Aug 2018 00:44:31 +0200 (CEST)

On Sun, 5 Aug 2018, ToddAndMargo wrote:

> Is there a way to ask curl to tell me is a url exists without downloading it
> if it does?

  curl -f http://example.com/non-exists

-- 
  / daniel.haxx.se
-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2018-08-06