On Thu, Jun 24, 2010 at 3:36 PM, Douglas Mason <douglasmason(a)gmail.com> wrote:
curl -b cookies.txt -F
token="359d6add9d7d2d7f61c0e47e872d932b+\\" -F
filename="Test.txt" -F "file=whatever" "
http://www.domain.com/w/api.php?action=upload"
[...]
<span
style="color:blue;"><error code="missingparam"
info="One of the parameters sessionkey, file, url is required"
xml:space="preserve"></span>
Does curl send the file in multipart/form-data format?
<span style="color:blue;"><error
code="internal_api_error_MWException" info="Exception Caught:
Internal error in ApiResult::setIndexedTagName: Bad parameter"
xml:space="preserve"></span>
That is definitely a bug. I will look into it when I have time.
Bryan