On Sun, 2005-07-24 at 09:45 -0700, Chuck Esterbrook wrote: > Can you give exact versions of your op sys, Python, Webware, Apache and > browser?
It is actually happening to all three developers we have working on this particular project. I'm not sure of the specifics of the other systems but I am running: OS: Debian Stable Linux 2.6.8 Python: 2.3.5 Webware: 0.8.1 Apache: 2.0.54 Browser: Firefox 1.0.4 > Does your <form> tag have: method=POST enctype="multipart/form-data" ? Yes... <form method="post" enctype="multipart/form-data"> > Does it happen for every PDF you try or just some? Are other file > types like JPG corrupted? It only happens for PDF's that have graphics in them. And I do also notice corruption on jpg's as well. -Seth > -Chuck > > > On 7/24/05, Seth Remington <[EMAIL PROTECTED]> wrote: > > Hello All, > > > > I'm having a problem with an application I'm developing and have > > tracked the root cause down to the Adapter that I am using. The > > application allows the user to upload a file (I have been testing mostly > > with PDF's) and the issue is that the file is getting corrupted. The > > uploaded file has the same number of bytes as the original but when they > > are diff'ed certain blocks of the PDF (I'm guessing they are the binary > > graphical portions) are different and it doesn't display correctly in > > the PDF viewer (i.e. random pages missing or won't open at all). > > > > After trying numerous possible (and failed) solutions I wanted to > > see > > what would happen if I tried just a basic Python CGI outside of the > > WebKit framework.... it worked just fine. Then I thought I would try the > > wkcgi adapter instead of the mod_apache2 adapter I had been using. Once > > I did that the file uploads came through just fine. > > > > Has anybody seen something like this before? Besides switching to a > > different adapter, are there any other options I should explore? > > > > -Seth > > > > -- > > Seth Remington > > SaberLogic, LLC > > 661-B Weber Drive > > Wadsworth, Ohio 44281 > > Phone: (330)335-6442 > > Fax: (330)336-8559 > > > > > > ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Webware-discuss mailing list Webware-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/webware-discuss