cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Problem Downloading files from webpage using cURL

From: marco nicolis <nicolis_at_unisi.it>
Date: Sat, 22 May 2004 16:45:41 +0200

Are you able to access the file via a normal web browser? I am not. I
get 404. So the problem does not seem to be related to Curl; at least if
I understand the question correctly...
marco
Peter Caccamo wrote:

>Thanks for the quick response Daniel ...
>
>I should have been clearer. So I'll try again -- given that I still am
>not able to download the file.
>
>I'm trying to download a file from a webpage using command line cURL, as
>follows:
>
>Here's the target webpage, which I believe has embedded javascript
>https://198.204.142.102/PDD
>Here's the file that I want to download
>mbs052004.zip
>
>Here's the command-line command that I executed curl
>https://198.204.142.102/PDD/mbs052004.zip
>
>This doesn't work for me .... I receive a file with an HTTP 404 message
>.. not what I wanted ... I wanted the file ... anyone know what I'm
>doing wrong ???? or maybe I'm missing something ????
>
>thanks again,
>
>Peter Caccamo
>Technical Director, SDC
>Two MetroTech Center, 8th Floor
>Brooklyn, New York 11201
>OFFICE (212) 383-2925
>BEEPER (917) 486-9803
>EMAIL pcaccamo_at_siac.com
>
>
>
> Daniel Stenberg
> <daniel-curl_at_haxx.se To: curl tool talk <curl-users_at_cool.haxx.se>
> > cc: (bcc: JMail Box)
> Sent by: Subject: Re: Problem Downloading files from webpage using cURL
> curl-users-bounces_at_c
> ool.haxx.se
>
>
> 05/21/2004 03:50 PM
> Please respond to
> curl tool talk
>
>
>
>
>
>
>SIAC MailShield has identified this incoming email as possible spam.
>A summary of our analysis as well as the original message has been
>attached to this so you can review it.
>If you have any questions please contact ONS at x7074:
>
>
>Content preview: 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? [...]
>
>
>
>Content analysis details: (5.1 points, 5.0 required)
>
> pts rule name description
>---- ----------------------
>--------------------------------------------------
>-4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1%
> [score: 0.0032]
> 10 NORMAL_HTTP_TO_IP URI: Uses a dotted-decimal IP address in URL
>
>
>
>----- Message from Daniel Stenberg <daniel-curl_at_haxx.se> on Fri, 21 May
>2004 21:50:16 +0200 (CEST) -----
>
> To: curl tool talk <curl-users_at_cool.haxx.se>
>
> Subject: Re: Problem Downloading files from webpage
> using cURL
>
>
>(See attached file: att6mf9j.txt)
>
>
>
>
>
>-----------------------------------------
>This message and its attachments may contain privileged and confidential information. If you are not the intended recipient(s), you are prohibited from printing, forwarding, saving or copying this email. If you have received this e-mail in error, please immediately notify the sender and delete this e-mail and its attachments from your computer.
>
>
Received on 2004-05-22