Re: Failing to upload file to Scribd using Scribd Pear Package
| From: | Rich Schumacher | Date: | Wed, 05 Aug 2009 16:58:31 +0000 |
| Subject: | Re: Failing to upload file to Scribd using Scribd Pear Package | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-29980@lists.php.net to get a copy of this message | ||
2009/8/5 Itzik Yatom <itzik@itzikyatom.com>
> I have just installed the Scribd service pear package written by Rich
> Schumacher and I have problems with the Services_Scribd_Docs.upload method:
>
> I am getting the following error message from Scribd server:
>
> "Invalid file parameter - you attempted to pass a string literal as a file.
> You need to call a multi-part POST, passing the file as file data instead of
> a simple parameter in..."
Hey Itzik,
I have verified that this is indeed a bug[1] and I have released a new
version of the package (v0.1.1) that fixes it.
You should be able to 'sudo pear upgrade Services_Scribd' and all will be well.
Thanks for using and let me know if you have any other problems.
Rich
[1] http://pear.php.net/bugs/bug.php?id=16495