Introduction
Currently to enable directory synchronisation you need to comment out within the getRecursive method, this will stop the script exiting when a message states the file cannot be overwritten.
foreach ($file_list as $file_entry) {
$remote_file = $remote_path . $file_entry['name'];
$local_file = $local_path . $file_entry['name'];
$result = $this->get($remote_file, $local_file,
$overwrite, $mode);
if ($this->isError($result)) {
// return $result;
}
}
External Links
|