[Oberon] Web usage

edgar at edgarschwarz.de edgar at edgarschwarz.de
Sat Jan 3 23:44:06 CET 2004


shark at gulfnet.sd64.bc.ca wrote:
> Given a URI to a file, is there any direct way of 
> retrieving the file by http?  I know about 
> HyperDocTools.Fetch but it needs a link.
HyperDocTools.Fetch "http://carnot.pathology.ubc.ca/" => carnot.html ~
Or if you want to get and open it just do MM on the "http//:.."
So I'm not sure what your question is ...
BTW, you also could use WebDAV: DCT.Get ... :-)

> Given a URI to an http accessible directory, is 
> there any way to get a list of the contents rather
> than a view of index.html?
AFAIK that's not a question of Oberon but server and protocol policy.
With a HTTP server you aren't expected to get a directory listing normally.
If the server is giving it to you it's his decision.
OTOH with a WebDAV server a PROPFIND with depth>0 should give you a directory
listing.

Cheers, Edgar



-- 
edgar at edgarschwarz.de                  "http://www.edgarschwarz.de"
"http://www.edgar-schwarz.de/forum/oberon"    Running Active Oberon
Make it as simple as possible, but not simpler.     Albert Einstein



More information about the Oberon mailing list