I'm trying to migrate private files (file migration), the problem is even I set file_replace to 'FILE_EXISTS_REUSE' the files are still duplicated (it adds _1 or _2, and so on.). Here is my mapping:
$this->addFieldMapping('file_replace') ->defaultValue('FILE_EXISTS_REUSE'); $this->addFieldMapping('preserve_files') ->defaultValue(FALSE);
Please help!
$this->addFieldMapping('file_replace')->defaultValue(FILE_EXISTS_REUSE);
?