lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

LYNX-DEV <input type=file>:


From: Henri Torgemane
Subject: LYNX-DEV <input type=file>:
Date: Fri, 31 Jan 1997 00:53:26 -0500

Hi,

I've almost finished a complete implementation of the <input type=file> tag
(rfc1867).

I'd like to send a Content-Type header for each file sent. This implies I
need a way
to find the mime-type for a given file. I guess this is already present in
lynx,
because it's needed for the "file://" urls. Could someone point me to the
good file?

I still have to take a decision about the way the uploaders are called: for
full
support of the rfc, I need to get the name and the content of each uploaded
file.
The problem is that I cannot have the name simply. 
What Lynx is doing now ( with the DIRED functions) is either letting the
uploader use the name it wants, either impose a specific name ( and lose
the original name ). 
This was Ok because Lynx didn't need to know what the file name was.
In fact, Y.H.Bae did something to get both name and content:
a filename is given to the uploader, who must fill the file with the name
of the
uploaded file. This give Lynx a way to retrieve the uploaded file intact.
But this means the uploader called by Lynx is necessary a script, or a C
program, that
will then call the real uploader:
It makes the addition of new uploader much more complex ( and it forces to
write the
uploader twice in lynx.cfg: once for the DIRED upload, and once for the
upload tag. )
Anyone has an elegant solution to this?

Thanks,
Henri

--
address@hidden      http://hpweb.utc.fr/~htorgema/

;
; To UNSUBSCRIBE:  Send a mail message to address@hidden
;                  with "unsubscribe lynx-dev" (without the
;                  quotation marks) on a line by itself.
;

reply via email to

[Prev in Thread] Current Thread [Next in Thread]