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

Request #6806 Allow recursive up-/download with only adding newer files
Submitted: 2006-02-17 09:45 UTC
From: francois at upian dot com Assigned: jorrit
Status: Closed Package: Net_FTP (version 1.3.2)
PHP Version: 5.1.2 OS: Windows, Linux
Roadmaps: 1.4.0a2    
Subscription  
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes. If this is not your bug, you can add a comment by following this link. If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
2008-05-19 19:41 UTC
Package:
Bug Type:
Summary:
From: francois at upian dot com
New email:
PHP Version: Package Version: OS:

 

 [2006-02-17 09:45 UTC] francois at upian dot com
Description: ------------ When fetching a whole directory whith getRecursive($remotepath, $localpath, $overwrite = false), the process stop when the function found an existing file that may not be overwritten. It's because line 1221, the get() function send an exception instead of just saying all it's ok. I replaced, this line with a "return true" and the script now works as expected. In my case, i just wanted to retrieve the new files and that's was not possible with current behaviour.

Comments

 [2006-02-17 11:23 UTC] toby
This is a feature request, no bug.
 [2008-05-19 19:41 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.