[EMAIL PROTECTED] (David N. Welton) writes:
> 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...
Ok... there is a big question here:
It's possible to upload two files with the same variable name. Do we
want to handle this? Any ideas how? It's even more of a pain in the
ass than variables, because every file has several pieces of
information associated with it.
The easiest thing is to do like PHP and say "ok, just don't do that".
It makes a lot of things easier.
If people don't want to go the easy route, I'd like to hear what kind
of API you would like to see.
Hrm...
--
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]