<<<
This should work:

(ZnServer defaultOn: 1701)
        logToTranscript;
        delegate: ((ZnStaticFileServerDelegate new)
                                                prefixFromString:
'apple/macosx';
                                                directory:
'/Library/WebServer/Documents' asFileReference;
                                                yourself);
        start.

ZnClient new get: 'http://localhost:1701/apple/macosx/'.

If there is no index.html in the directory, you'll need to refer to an
actual file.

>>>

Thanks Sven, that's great!  And, I am glad I asked, because I wouldn't have
worked that out.

It seems to me that Zinc is becoming sufficiently powerful that it could do
with a section in the  collaboractive cookbook.  Could someone on this list
give me an account? I could start to capture bits and pieces.

cheers
Andy

Reply via email to