Project

General

Profile

Actions

Bug #21605

closed

recursive file copy on windows

Added by Kay Strobach about 15 years ago. Updated almost 10 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2009-11-18
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.3
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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)

Actions

Also available in: Atom PDF