curl-users
curl: (18) transfer closed with 1 bytes remaining to read
Date: Thu, 03 Jun 2004 12:22:05 -0700
I'm seeing some strange behaviour downloading files from archive.org,
and am wondering if there is some header or other switch i can send to
remedy the problem. For example:
/usr/bin/curl -o "test.zip"
"http://web.archive.org/web/19980623081312/www.olivettilexikon.com/drivers/pg8w3f.zip"
consistently returns the error:
curl: (18) transfer closed with 1 bytes remaining to read
This exact problem seems to occur with most attempts to download a file
from archive.org, so i suspect their web server is configured to act in
this way. How cann i get around it?
This may be helpful: I first tried the download via the Mozilla
browser, and received all but the last byte (same as using curl). Same
for lynx. However, when i attempt the download via my Safari browser,
the whole file is downloaded successfully! So that leads me to believe
there is some config thing i can send to make it work via curl.
any insights greatly appreciated!
thanks,
christian
Received on 2004-06-03