Re: Uploading large files with HTTP_Request class

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, May 31, 2012 at 5:28 AM, Voß, Marko <Marko.Voss@xxxxxxxxxxxxxxxx> wrote:
> I need to perform uploading of large files using the HTTP_Request class:
> http://pear.php.net/manual/package.http.http-request.php
> The HTTP_Request class support the following functions:
> setBody() and addFile()

Reading the above, and checking on the documentation, I notice an inconsistency.

I only find the setBody() method in HTTP_Request2, while addFile() is
in HTTP_Request. The correct method for adding files in HTTP_Request2
is addUpload() (which still may not work given the limitations of the
upstream server).

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux