PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Networking » Net_FTP » Bug #7102

Usage of ftp_nb_put() in FTP::put() is incredibly slow

Details

Submitted2006-03-12 19:04 UTC
Fromhw at cho dot de
Assignedjorrit
StatusClosed
PackageNet_FTP
PHP Version4.4.2
OSLinux
Roadmaps1.4.0a1

Comments

[2006-03-12 19:04 UTC] hw at cho dot de

Description:
------------
PHP's own ftp_nb_put() does render uploads incredibly slow. Omitting it results in multiples faster upload.

Test script:
---------------
function put($local_file, $remote_file, $overwrite = false, $mode = null){
[...]
if (0 && function_exists('ftp_nb_put')){
[...]
}