You are viewing a plain text version of this content. The canonical link for it is here.
Posted to websh-dev@tcl.apache.org by "David N. Welton" <da...@dedasys.com> on 2002/07/18 22:08:46 UTC
make upload & var operate the same way
The upload command works like this:
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
gets all the upload names.
The var command works like this:
var get foo
var list foo
var names
var number
var all
Any reason not to make them work more alike?
--
David N. Welton
Consulting: http://www.dedasys.com/
Personal: http://www.dedasys.com/davidw/
Free Software: http://www.dedasys.com/freesoftware/
Apache Tcl: http://tcl.apache.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: websh-dev-unsubscribe@tcl.apache.org
For additional commands, e-mail: websh-dev-help@tcl.apache.org
Re: make upload & var operate the same way
Posted by Ronnie Brunner <ro...@netcetera.ch>.
It's always better to have consistent (similar) behavior of different
commands, vene if you talk about rivet and not websh ;-)
> The upload command works like this:
>
> 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
>
> gets all the upload names.
>
> The var command works like this:
>
> var get foo
> var list foo
> var names
> var number
> var all
>
> Any reason not to make them work more alike?
>
------------------------------------------------------------------------
Ronnie Brunner ronnie.brunner@netcetera.ch
Netcetera AG, 8040 Zuerich phone +41 1 247 79 79 fax +41 1 247 70 75
---------------------------------------------------------------------
To unsubscribe, e-mail: websh-dev-unsubscribe@tcl.apache.org
For additional commands, e-mail: websh-dev-help@tcl.apache.org