Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Dec 1995 18:48:28 +0100
From:      Wolfram Schneider <wosch@cs.tu-berlin.de>
To:        =?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?= (aka Andrey A. Chernov, Black Mage) <ache@astral.msk.su>
Cc:        hackers@freebsd.org
Subject:   Does anybody knows a way to get file via HTTP non-interactively?
Message-ID:  <199512101748.SAA01747@localhost>
In-Reply-To: <KH8kOomCL1@deep-thought.demos.su>
References:  <KH8kOomCL1@deep-thought.demos.su>

next in thread | previous in thread | raw e-mail | index | archive | help
KOI8-R writes:
>It is actual, because more and more sites places archives available by
>HTTP only.
>All browsers I know can't work in background... :-(

Get a file:

$ echo "GET /<filename>" | socket <host> <port> > out


Reading a directory:

$ echo GET /dir/ | socket host port | \
	perl -ne 'print "$1\n" if /\sNAME="([^"]+)"/'


Wolfram




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199512101748.SAA01747>