cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Problem Downloading files from webpage using cURL

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Fri, 21 May 2004 21:50:16 +0200 (CEST)

On Fri, 21 May 2004, Peter Caccamo wrote:

> curl https://198.204.142.102/PDD/mbs052004.zip
>
> This does not work. I receive a file with a http 404 message back.

And how is this curl's fault?

> It happens that the webpage has imbedded javascript -- is this a problem
> ????

Uh, that page does not contain javascript.

> does cURL webpage downloads work with imbedded javascript ???

curl downloads what you point out, it doesn't know if that is javascript, HTML
or an mp3 file. And it doesn't care.

-- 
     Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
      Dedicated custom curl help for hire: http://haxx.se/curl.html
Received on 2004-05-21