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 #6806

Allow recursive up-/download with only adding newer files

Details

Request #6806Allow recursive up-/download with only adding newer files
Submitted2006-02-17 09:45 UTC
Fromfrancois at upian dot com
Assignedjorrit
StatusClosed
PackageNet_FTP
PHP Version5.1.2
OSWindows, Linux
Roadmaps1.4.0a2

Comments

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