I am using the Blogger APIs via xmlrpc.php to try to post files to my blog via a widget I've written. Basically, you drag & drop a file, and it posts to the blog. I send an XMLHttpRequest calling metaWeblog.newMediaObject, sending my file as a base64-encoded string. This works fine for small files such as images, and even smaller videos. But I've run into problems when uploading large video files (5-10MB in size).
I've traced this down, and the file gets successfully written to the server, but for some reason the XMLHttpRequest status is 0 instead of the expected 200.
I've spent 3 days tweaking server settings, and have increased all the timeouts, execution time, memory limits, size limits, etc in PHP and Apache, and none of that helped. Like I said, the file successfully saves to the server, so I know it works, but why won't XMLHttpRequest return the proper status of 200?
I've been beating my head against this wall for 3 days, so any help/advice would be greatly appreciated. Thanks!