[Haskell] Re: Network.CGI: <INPUT TYPE="file">?

Peter Simons simons at cryp.to
Tue Nov 30 07:13:31 EST 2004


Johannes Waldmann writes:

 > How can I use an <INPUT TYPE="file"> element?

The Network.CGI module can't deal with that, unfortunately.
You might want to take a look at the module FormData, which
is (temporarily!) available here:

  http://peti.cryp.to/FormData.hs

I'm using this module instead of Network.CGI and it works
nicely. 'lookupFileField' is the function you are interested
in.

Hope this helps.

Peter



More information about the Haskell mailing list