Client side file push

Ram Austryjak Moskovitz (ram@verisign.com)
Thu, 2 Nov 1995 17:43:04 -0800


Hi all,

I'm trying to get a file sent from the client to the server, what I'd really
like is to push a form to the client where she would fill in an absolute
local file reference, which, upon submission of the form would actually
include the file as part of the transmission. I believe there is an HTML
extension that allows this:

<FORM ENCTYPE="multipart/form-data" ACTION="_URL_" METHOD=POST>

Send this file: <INPUT NAME="userfile" TYPE="file">

<INPUT TYPE="submit" VALUE="Send File">

</FORM>

(stolen from
http://www.netscape.com/assist/net_sites/html_extensions_3.html, near the
end of it)

Now is this implemented yet? I tried this on a traditional (1.1n) browser:
it gives a form with a text field but doesn't actuall post the file (I
mention this for illustrative purposes only). I tried the same thing with
an 2.0b1 and I get the same, but without the text entry field! I don't know
what to make of this. It seems either a) not fully implemented yet, b) the
filename must be set as a default value, or, c) a need a form to get the
name to return a form with the name as the default so they can submit it...

anyone?

thanks
ram