Problem in using scotty as a client

Dan Razzell (razzell@cs.ubc.ca)
Fri, 20 Dec 1996 15:29:06 UTC-0800

> Is there any sample code for using scotty as a http client?

It's trivial to do, but there does appear to be an implementation bug
that occasionally delivers garbage. I haven't investigated further.

Example:

set page "http://wwwsnmp.cs.utwente.nl/~schoenw/scotty/"
set file "/tmp/scotty.html"

if {[catch {http get $page $file} result]} {
puts "page timed out: $page"
}