Issue Bug Closed

#21605recursive file copy on windows

Kay Strobach 11/18/09, 16:41 updated 12/09/14, 16:01

Description

I got the following error message:
The item “piwik_patches” was not a file or directory! (msg#2.2.130)
During developing piwikintegration. After quite a while of debugging a found out that t3lib_extfilefunc doesn’t support recursive folder copy on windows systems …

http://typo3.org/fileadmin/typo3api-4.0.0/d6/d98/class_8t3lib__extfilefunc_8php-source.html#l00451

I throws the wrong error for me, the correct error message should be:
’Recursive copy is not supported under windows’
This could be done easily with an additional ifelse where @is_dir($theFile) is true and TYPO3_OS=WIN.
The alternative would be an recursive call of a private function or regeneration of the cmd array to perform a recursive copy with directories.

Best Regards

Kay

(issue imported from #M12657)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.