> * File upload. This is probably the most important thing.

How would people like to get access to file uploads?  We could do it
really, really simply by just passing the whole chunk of multipart
data, letting you parse out variables and files in Tcl...;-)

If it's done by mod_dtcl, how would people like to get access to the
file?

PHP offers the following:

$userfile - The temporary filename in which the uploaded file was
stored on the server machine.

$userfile_name - The original name or path of the file on the sender's
system.

$userfile_size - The size of the uploaded file in bytes.

$userfile_type - The mime type of the file if the browser provided
this information. An example would be "image/gif".

I think I would prefer something like this:

FILE(data)
FILE(name)
FILE(size)
FILE(type)

This way the user could choose whether to save it or not.  I guess
that would be harsh on memory, though.

cgi.tcl seems to save it to a file as well.

Hrm...
-- 
David N. Welton
http://www.prosa.it http://www.prosa.it/developers/davidw/
tel +39.049.8043411 fax +39.049.8043412 cel +39.348.2879508

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to