<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">Update for those interested:  I registered the offending MIME types with Wordpress and cured some of the errors.  For example, setting DMG files to application/octet-stream in Wordpress allowed me to upload smaller DMG files without getting the FaultException from XMLRPC.<DIV><BR class="khtml-block-placeholder"></DIV><DIV>I've noticed that in bloggin.rb it never sets the data type before the newMediaObject call.  Everything I can find says that this is a required field.  What happens when it's not set?  Can you force it to ignore or set it to a default?  I attempted to add a MIME::Types library and determine the type but it didn't make a difference to Wordpress.<DIV><BR class="khtml-block-placeholder"></DIV><DIV>I'm still getting the last error on large files.  The upload limit on my server is set to 20 megs, but I think I'm running into a timeout.  I can issue a set_time_limit(1000) in the xmlrpc.php file right before the upload, which seems to override it for a couple of minutes but I still get the error, so I'm not sure that the timeout is the answer.  If anyone has any suggestions I'd love to hear them. </DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>In short, while I'd love to see this working and a part of the blogging bundle, if it requires this much server hacking I think I'll stick with my usual method of FTP and hand coding links.  Actually, it would be relatively simple to set up a Transmit script to send to your wordpress upload folder and then build a drag command to upload the dropped file with docksend and return a url based on the upload directory...  </DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Brett</DIV><DIV><BR><DIV><DIV>On Nov 2, 2006, at 5:53 AM, Brett Terpstra wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite">Just a little more info, here are some specs for successes and failures:<DIV><BR class="khtml-block-placeholder"></DIV><DIV>Microformats.zip 4Kb ok</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>SIMBL.tbz 28Kb Error uploading file. Check your configuration and try again. XMLRPC::FaultException</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>SurveyGizmo-Plugin.zip 12Kb ok</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>garyscookbook_2_1.zip 332Kb ok</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>KeyCue21-Install.dmg 596 Kb Error uploading file. Check your configuration and try again. XMLRPC::FaultException</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>KeyCue21-Install.dmg.zip 584Kb Ok (I just made an archive from the above file)</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Any file larger than that gets this:</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>/usr/lib/ruby/1.8/xmlrpc/client.rb:535:in /bin/bash: -c: line 1: unexpected EOF while looking for matching `''</DIV><DIV>/bin/bash: -c: line 3: syntax error: unexpected end of filecall2'</DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">      </SPAN>from /usr/lib/ruby/1.8/xmlrpc/client.rb:399:in /bin/bash: -c: line 1: unexpected EOF while looking for matching `''</DIV><DIV>/bin/bash: -c: line 3: syntax error: unexpected end of filenewMediaObject'</DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre"> </SPAN>from /Users/brett/Library/Application Support/TextMate/Pristine Copy/Bundles/Brett Terpstra’s Bundle.tmbundle/Support/lib/blogging.rb:833:in /bin/bash: -c: line 1: unexpected EOF while looking for matching `''</DIV><DIV>/bin/bash: -c: line 3: syntax error: unexpected end of filepopen'</DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">    </SPAN>from /Users/brett/Library/Application Support/TextMate/Support/lib/progress.rb:11:in /bin/bash: -c: line 1: unexpected EOF while looking for matching `''</DIV><DIV>/bin/bash: -c: line 3: syntax error: unexpected end of fileupload_file'</DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">      </SPAN>from /tmp/temp_textmate.AmdZT3:3</DIV><DIV><BR><DIV><DIV>On Nov 2, 2006, at 5:48 AM, Brett Terpstra wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite">I'm probably being daft about something, but could someone take a look at my modification to blogging.rb and tell me why it errors out on different files?  It seems to deal alright with small zip files, but files of type dmg or tbz or anything other than zip, or files larger than about 500k cause a variety of errors.  I'm not sure if the problem lies with Wordpress or my methods.<DIV><BR class="khtml-block-placeholder"></DIV><DIV>Thanks for any help.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Brett<DIV><BR class="khtml-block-placeholder"></DIV><DIV><A href="http://pastie.textmate.org/20837">http://pastie.textmate.org/20837</A></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR><DIV><DIV>On Nov 2, 2006, at 1:22 AM, Daniel Käsmayr wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"><DIV>Brett, </DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>thanks for correcting my quick hack… I was just happy that it works with my stuff and inserts markdown code.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>but…</DIV><BR><DIV><DIV>Am 2. Nov 2006 um 03:27 schrieb Brett Terpstra:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT face="Helvetica" size="5" style="font: 16.0px Helvetica">I've got a working version right now but am adding some of the above ideas. If anyone is interested I'll tweak it up and send it along to add to the discussion.</FONT></DIV> </BLOCKQUOTE></DIV><BR><DIV>…you definitely should post your superified version of it! ;)</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Dan</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>PS: can I have a birthday edition of TM?</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">______________________________________________________________________</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">For new threads USE THIS: <A href="mailto:textmate@lists.macromates.com">textmate@lists.macromates.com</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">(threading gets destroyed and the universe will collapse if you don't)</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="http://lists.macromates.com/mailman/listinfo/textmate">http://lists.macromates.com/mailman/listinfo/textmate</A></DIV> </BLOCKQUOTE></DIV><BR><DIV> <SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><DIV>Brett Terpstra : Art Director</DIV><DIV>Circle Six Design, Inc.</DIV><DIV>111 Riverfront Dr, Suite 204</DIV><DIV>..................................................</DIV><DIV>p: 507.459.4398</DIV><DIV>    877.858.4332</DIV><DIV>f: 1.866.540.3063</DIV><DIV>e: <A href="mailto:brett@circlesixdesign.com">brett@circlesixdesign.com</A></DIV><DIV><A href="http://www.circlesixdesign.com">http://www.circlesixdesign.com</A></DIV><DIV>..................................................</DIV><BR class="Apple-interchange-newline"></SPAN> </DIV><BR></DIV></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">______________________________________________________________________</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">For new threads USE THIS: <A href="mailto:textmate@lists.macromates.com">textmate@lists.macromates.com</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">(threading gets destroyed and the universe will collapse if you don't)</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="http://lists.macromates.com/mailman/listinfo/textmate">http://lists.macromates.com/mailman/listinfo/textmate</A></DIV> </BLOCKQUOTE></DIV><BR><DIV> <SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><DIV>Brett Terpstra : Art Director</DIV><DIV>Circle Six Design, Inc.</DIV><DIV>111 Riverfront Dr, Suite 204</DIV><DIV>..................................................</DIV><DIV>p: 507.459.4398</DIV><DIV>    877.858.4332</DIV><DIV>f: 1.866.540.3063</DIV><DIV>e: <A href="mailto:brett@circlesixdesign.com">brett@circlesixdesign.com</A></DIV><DIV><A href="http://www.circlesixdesign.com">http://www.circlesixdesign.com</A></DIV><DIV>..................................................</DIV><BR class="Apple-interchange-newline"></SPAN> </DIV><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">______________________________________________________________________</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">For new threads USE THIS: <A href="mailto:textmate@lists.macromates.com">textmate@lists.macromates.com</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">(threading gets destroyed and the universe will collapse if you don't)</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="http://lists.macromates.com/mailman/listinfo/textmate">http://lists.macromates.com/mailman/listinfo/textmate</A></DIV> </BLOCKQUOTE></DIV><BR><DIV> <SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><DIV>Brett Terpstra : Art Director</DIV><DIV>Circle Six Design, Inc.</DIV><DIV>111 Riverfront Dr, Suite 204</DIV><DIV>..................................................</DIV><DIV>p: 507.459.4398</DIV><DIV>    877.858.4332</DIV><DIV>f: 1.866.540.3063</DIV><DIV>e: <A href="mailto:brett@circlesixdesign.com">brett@circlesixdesign.com</A></DIV><DIV><A href="http://www.circlesixdesign.com">http://www.circlesixdesign.com</A></DIV><DIV>..................................................</DIV><BR class="Apple-interchange-newline"></SPAN> </DIV><BR></DIV></DIV></BODY></HTML>