"Zeinert, Holger" <[EMAIL PROTECTED]> writes:

Sorry I've been a bit slow to respond - I'm away from home for the
holidays.

> bad file number
>     invoked from within
> "upload get MyUpload save c:/temp/upload_[clock seconds].dat"
>     (in namespace eval "::request" script line 15)
>     invoked from within
> "namespace eval request {
> buffer_add "<html>
> <body>
> "

> I get a similar error when using "upload get MyUpload channel" when
> accessing the returned file handle.

I think I see the problem:

                chan = Tcl_MakeFileChannel((ClientData)fileno(
                    ApacheUpload_FILE(upload)), TCL_READABLE);

This doesn't work on windows, because Tcl_MakeFileChannel wants a
HANDLE.

Windows guys - you have any good ideas on how to deal with this?  I
wonder if there is a windows function to transform a FILE* into a
HANDLE?

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to