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  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 13 + 42 = ?

 
 [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.