cURL / Mailing Lists / curl-users / Single Mail


Re: Can't view strange Java URL with Curl. Is it possible?

From: Nick Chirca <>
Date: Tue, 13 Nov 2001 01:40:13 +0200 (EET)

Although I only recently began to use curl and curl lib, I am having a
similar problem. I used curl to donload pages from I think
I mentioned this problem on the curl mailing lists... When downloading, a
very strange space (" ") appeared in the html pages I downloaded. And the
spece got into my targeted links/info that I needed to parse. After
loosing some time with this problem (I couldn't extract the info), I was
able to find a way to get that info out...

But I just wanted to tell you guys that yes, it seems that curl is messing
with the received data...

and another problem I have to monetion here is....

I was doing:

for ($i=1;$i<430;$i++){

get_with_curl ($nurl)
The problem is that curl crashed a few times (many times), during this
loop. Fortunately, I was able to see what $i was and start over from that
$i and continue. But after some pages were downloaded, the crash appeared
again... and so on until I downloaded all the pages...
> Thanks for that, it works kind of. To be honest i don't know if its a result
> of Curl or just the sites code.
> When viewed vi IE the site is all properly laid out and looks ok, but when i
> issue the command
>  curl -L -b moo "" > test.html
> And i then view test.html via Internet Explorer, apart from the obvious
> images being missing etc.. its also all out of alignment??
> I thought that this command would have taken a clone of the code from the
> original page and saved it to test.html, therefore when viewed with IE it
> should look identical.
> Sadly it does not.
> Can anyone verify if this is a Curl thing or something else. If so can you
> let me know if it can be fixed.
> Thanks again,
"It's nice to be important, but it's more important to be nice !"
						SCOOTER <-- My personal web site (info about me&my life) <-- My resume/CV.
Received on 2001-11-13