Bug #23032
closedclass.t3lib_extfilefunc.php func_copy can not move folder recursively on windows server (but func_move works)
0%
Description
class.t3lib_extfilefunc.php function func_copy can not move folder recursively on windows server...
If you move a folder with files in it the function func_copy returns "$this->writelog(2,2,130,'The item "%s" was not a file or directory!',Array($theFile));" on line 536
func_move works with the very same directory...
1.) Install TYPO3 on Windows
2.) Set 'dont_use_exec_commands' in install tool (as recommended for windows)
3.) create folder in fileadmin, and upload files into it
4.) copy folder in fileadmin in the filelist modules
5.) insert folder into another folder within fileadmin in the filelist module
The problem is within this line, which returns fals:
...
} elseif (@is_dir($theFile) && !$this->dont_use_exec_commands) {
...
$this->dont_use_exec_commands is true so it definitely hangs on the is_dir.
Maybe because there is a '/' on the end of the path.
Related to: http://bugs.typo3.org/view.php?id=7469
(issue imported from #M14910)