Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.4.1

Bug #13917 putRecursive always return PEAR::Error
Submitted: 2008-05-16 11:44 UTC
From: idecchi Assigned: jorrit
Status: Closed Package: Net_FTP (version 1.3.6)
PHP Version: 5.2.5 OS: CentOS4
Roadmaps: 1.4.0a2, 1.3.7    
Subscription  


 [2008-05-16 11:44 UTC] idecchi (Shinji Ide)
Description: ------------ Net/Ftp.php line 1517-1518 foreach ($dir_list["dirs"] as $dir_entry) { > $remote_path_new = $remote_path.$dir_entry['name']."/"; > $local_path_new = $local_path.$dir_entry['name']."/"; but, $dir_entry['name'] is not set. because $dir_list array get by _lsLocal function and this function don't use 'name' array key. should be $remote_path_new = $remote_path.$dir_entry."/"; $local_path_new = $local_path.$dir_entry."/";

Comments

 [2008-05-17 22:54 UTC] jorrit (Jorrit Schippers)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.