[EMAIL PROTECTED] (David N. Welton) writes:
> The problematic thing is that some decisions need to be made before
> the script is executed. This stuff happens when the request comes
> in...
>
> So, the callback has to be set up beforehand. It would be possible to
> pass it the name of a Tcl proc.
I have a working version of the upload command:
upload get XYZ
channel # returns channel
save (name) # returns name?
data # returns data
with the third one reporting an error if this hasn't been enabled, or
the first two if it has.
upload info XYZ
exists
size
type
filename
upload names
Although I don't like how it works with 'data' (uploading to memory).
Maybe time to rework some more things...
--
David N. Welton
Free Software: http://people.debian.org/~davidw/
Apache Tcl: http://tcl.apache.org/
Personal: http://www.efn.org/~davidw/
Work: http://www.innominate.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]