Thread Starter
afx114
(@afx114)
That was it!! I’m using Konfabulator for my widget, and the default XMLHttpRequest.timeout is only 60 seconds. I upped this to 4 minutes and now the large files are successfully posting. I don’t know why I didn’t think of that… probably because my brain has turned to jello after 3 days on this. Thanks so much. 🙂
Thread Starter
afx114
(@afx114)
To elaborate, here is the XMLHttpRequest response I am expecting. This is from a smaller file (500k):
<?xml version="1.0"?>
<methodResponse>
<params>
<param>
<value>
<struct>
<member><name>file</name><value><string>mvi-9148.avi</string></value></member>
<member><name>url</name><value><string>http://www.mydomain.com/wp-content/uploads/2008/06/mvi-91482.avi</string></value></member>
<member><name>type</name><value><string>video/avi</string></value></member>
</struct>
</value>
</param>
</params>
</methodResponse>
But when I send a larger file (5-10MB), I don’t get any XMLHttpRequest response at all, even though the file is successfully uploaded and saved to the server. When I check XMLHttpRequest.status in my app, it is set to 0.