Archive of UserLand's first discussion group, started October 5, 1998.

Re: Serving pdf documents

Author:Dave Winer
Posted:5/16/1999; 1:52:22 PM
Topic:A dream: Posting to a DG via email
Msg #:6326 (In response to 6325)
Prev/Next:6325 / 6327

Even if you can't get it to import as binary, it's a simple script that changes it to a binary and sets its binarytype so othat Frontier will serve it as you want to.

Suppose your object is stored at scratchpad.pdfdoc..

scratchpad.pdfdoc = binary (scratchpad.pdfdoc)
setBinaryType (@scratchpad.pdfdoc, 'PDF ')

That should do it.




This page was archived on 6/13/2001; 4:50:13 PM.

© Copyright 1998-2001 UserLand Software, Inc.