W3C home > Mailing lists > Public > www-lib@w3.org > July to September 1998

Small PUT sample app (Was: HTTP PUT app problem)

From: Henrik Frystyk Nielsen <frystyk@w3.org>
Date: Thu, 20 Aug 1998 18:00:39 -0400
Message-Id: <3.0.5.32.19980820180039.009a08d0@localhost>
To: "Matthew P. Bohnsack" <bohnsack@eai.com>, www-lib@w3.org
At 11:39 8/7/98 -0500, Matthew P. Bohnsack wrote:
>Hello.. I've been trying to get a small HTTP PUT app on UNIX with 
>libwww working.  Basically, I'm trying to replicate the command line tool:
>w3c -put /home/bohnsack/WWW/me.jpg -dest http://merced/put_test

I have made a small PUT program that PUTs an input URI to an HTTP server.
For example, if you want to put the W3C home page, then you go

	put http://www.w3.org/ http://myserver/destination.html

You can of course also use a local file, for example

	put localfile.html http://myserver/destination.html

It's all checked into CVS:

	http://www.w3.org/Library/cvs.html
and
	http://db.w3.org/Library/latest.sql

Have fun,

Henrik
--
Henrik Frystyk Nielsen,
World Wide Web Consortium
http://www.w3.org/People/Frystyk
Received on Thursday, 20 August 1998 18:00:18 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 23 April 2007 18:18:28 GMT