[6132] in www-talk@info.cern.ch
Re: File upload in HTML forms
daemon@ATHENA.MIT.EDU (Joe English)
Wed Oct 12 21:08:31 1994
Date: Thu, 13 Oct 1994 02:07:47 +0100
Errors-To: listmaster@www0.cern.ch
Errors-To: listmaster@www0.cern.ch
Reply-To: jenglish@crl.com
From: Joe English <jenglish@crl.com>
To: Multiple recipients of list <www-talk@www0.cern.ch>
nebel@xsoft.sd.xerox.com (Ernesto Nebel) wrote:
>
> FILE TRANSMISSION FROM WORLD WIDE WEB BROWSERS TO SERVERS
> ---------------------------------------------------------
> proposed change is to add a TYPE "file". The author of an HTML form
> who wants to request one or more files from a user would simply write
> (for example):
>
> File to process: <INPUT NAME="userfile1" TYPE="file">
Is it really best to add another overloaded meaning
to the INPUT element? How about a new tag:
<!ELEMENT ATTACH - O EMPTY -- "Attachment" or "file" input field --
>
This would leave room for extra attributes that only
apply to file submission, e.g.,
<!ATTLIST ATTACH
name NAME #REQUIRED
accept CDATA #IMPLIED
-- Legal MIME content-types for this attachment,
specified like in HTTP Accept: request header
--
... others? ...
>
--Joe English