<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.0.10">
<TITLE>Message</TITLE>
</HEAD>
<BODY>
I've handled serveral file types in mod_python from uploaded forms, and didn't need anything special set. If your not getting the files, check that the form has the correct enctype set. If you are getting data that's incorrect, post some details on how you are accessing the files to the list.<BR>
<BR>
Mike<BR>
<BR>
On Wed, 2004-05-19 at 11:22, Diener, Edward wrote:
<BLOCKQUOTE TYPE=CITE>
<FONT COLOR="#737373" SIZE="2"><I>How do I get Apache to start python with the -U option when it is used in an AddHandler statement ? When using straight CGI, and the file upload functionality in it, python must be started with the -U option in order for it to upload binary files, as opposed to text files, correctly.</FONT><BR>
<HR>
<PRE><FONT COLOR="#737373">_______________________________________________
Mod_python mailing list
Mod_python@modpython.org</FONT>
<A HREF="http://mailman.modpython.org/mailman/listinfo/mod_python"><U>http://mailman.modpython.org/mailman/listinfo/mod_python</U></I></A></PRE>
</BLOCKQUOTE>
<PRE><TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<FONT COLOR="#999999">__________________________________ </FONT><BR>
<BR>
<A HREF="mailto:michael.neel@mediapulse.com"><FONT COLOR="#000000" SIZE="2"><B><U>michael.neel</B></FONT></A><A HREF="mailto:michael.neel@mediapulse.com"><FONT COLOR="#808080" SIZE="2">@mediapulse.com</U></A><BR>
vice president of information systems<BR>
865.675.4455 x30<BR>
800.380.4514</FONT><BR>
<BR>
<A HREF="http://www.mediapulse.com/"><FONT COLOR="#a51c1e" SIZE="2"><U>www.mediapulse.com</U></FONT></A><BR>
<FONT COLOR="#999999">__________________________________</FONT>
</TD>
</TR>
</TABLE>
</PRE>
</BODY>
</HTML>