curl-users
Re: Using curl to retrieve a pic from a netcam
From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Sun, 6 Feb 2005 20:07:34 +0100 (CET)
Date: Sun, 6 Feb 2005 20:07:34 +0100 (CET)
On Sat, 5 Feb 2005, Wayne Gowcher wrote:
> curl 'http://192.168.0.40/__live.jpg?1107587644012&1107587687354&&'
>
> and I get "connection refused". I tried to use tcpdump to see what was
> happening, but tcpdump printed NOTHING out at all.
Curl's connect attempt is refused by the server. I don't see why it does this
for curl and not for your browser.
tcpdump should've showed you the attempted connect handshake.
> My first curl attempt failed, so I tried :
...
> and still no luck.
But this command line used a different IP address!
-- Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se Dedicated custom curl help for hire: http://haxx.se/curl.htmlReceived on 2005-02-06