On Thu, Sep 19, 2002 at 05:51:02PM +1000, Tao Peng wrote:
> Could please explain a little bit more about this. There be something wrong 
> with the download tool since
> some one can download the files correctly. I found there I.E. works 
> differently with Netscape in respect to this.

Yes, they do.  Web browsers are often not good at downloading binary
files; they all too often try to "fix" files as if they were text files,
by converting line endings - e.g., converting CR/LF to LF if downloading
on UNIX, or converting LF to CR/LF if downloading on Windows.

> Could u give me any suggestion of how to fixed the download problem. thanks 
> a lot!
> 
> the web data i will download from is 
> http://www.ll.mit.edu/IST/ideval/data/1999/1999_data_index.html
> The darpa Instrusion detection dataset. Has anyone download this before?

Web browsers are especially not good at downloading binary files if some
stupid broken or misconfigured Web server is lying and saying the files
*aren't* binary files, as the www.ll.mit.edu Web server appears to be
doing; when I tried downloading the Monday "inside tcpdump data" file
from

        http://www.ll.mit.edu/IST/ideval/data/1999/training/week1/index.html

i.e., the file with the URL

        
http://www.ll.mit.edu/IST/ideval/data/1999/training/week1/monday/inside.tcpdump.gz

the Web server put a "Content-Type: text/plain" header into the reply,
the fact that a gzipped tcpdump file is not even *close* to being plain
text nonwithstanding!

If you're downloading this on UNIX, you might try downloading it with
the "wget" utility, instead.  It may be available as part of your Linux
distribution or as a port or package in the FreeBSD port collection. 
You might have to type in the URL - or use "Copy Link Location" or
something such as that and then paste the URL with the middle mouse
button - but at least "wget" might just download the raw data and not
try to treat it as text.

"wget" might be available for Windows as well; I don't know.
-
This is the TCPDUMP workers list. It is archived at
http://www.tcpdump.org/lists/workers/index.html
To unsubscribe use mailto:[EMAIL PROTECTED]?body=unsubscribe

Reply via email to