wget produces corrupt files??
Can someone try this and see if this happens? Download one of the .txt.gz archive files on this page: https://www.redhat.com/archives/amd64-list/ , and you should be able to open it. Now download one using wget, and the file can't be uncompressed because it is not a gzip file! What is happening!?
|
Looks like someone forgot to gzip them. It looks like a mail file in raw for to me. Try renaming to .txt and see what I mean when you open it in an editor.
|
I agree. I am able to open it with nano and see it plain text.
|
The smaller files seem to be plain text but I can reproduce the problem with the larger ones. Often the connection is interrupted and the download resumes automatically, and this results in a bad file. Is there any way around this? Downloading the file in Firefox works fine but I need to use wget (or something similarly non-interactive).
Code:
$ wget https://www.redhat.com/archives/amd64-list/2008-January.txt.gz |
Ah, I've got it. The server was doing something funny when it detected wget. By forging the useragent and referer, it works fine. I wish it didn't have to come to this, but they asked for it....
|
What did they ask for? People not to copy all of their archives?
|
All times are GMT -5. The time now is 05:51 AM. |