Can you give exact versions of your op sys, Python, Webware, Apache and browser?
Does your <form> tag have: method=POST enctype="multipart/form-data" ? Does it happen for every PDF you try or just some? Are other file types like JPG corrupted? -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 > ------------------------------------------------------- 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_idt77&alloc_id492&op=click _______________________________________________ Webware-discuss mailing list Webware-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/webware-discuss