[Ilugc] http file get error

  • From: linux@xxxxxxxxxxxxxxxx (Suresh Ramasubramanian)
  • Date: Mon, 09 Feb 2004 18:41:27 +0530

Sridhar R wrote:

I tried wgetting this file

$wget
http://sridhar.t35.com/projects/abandoned/chess.src.tar.bz2.

But it failed and creating a file named
www.t35.com/badlink.php?link=sridhar.t35.com

Why is it so?

Even typing this URL opens the above (badlink.php)
page.  Only when clicking a hyperlink that refers the
above URL, I am able to download it.

I suppose it checks for a referer string from its site, to prevent 
offsite downloads of stuff stored there.

        srs

Other related posts: