PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

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')){
[...]
}