Project

General

Profile

Actions

Bug #23032

closed

class.t3lib_extfilefunc.php func_copy can not move folder recursively on windows server (but func_move works)

Added by Jonas Felix over 14 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2010-06-29
Due date:
% Done:

0%

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

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)


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #18180: copy a folder fails in file moduleClosedChristian Kuhn2008-02-09

Actions
Actions #2

Updated by Steffen Kamper over 14 years ago

I can reproduce, error also appears without 'dont_use_exec_commands' setting.
I will fix it.

Actions #3

Updated by Xavier Perseguers almost 13 years ago

  • Assignee deleted (Steffen Kamper)
  • Target version deleted (0)
Actions #4

Updated by Mathias Schreiber almost 10 years ago

  • Status changed from Accepted to Needs Feedback
  • Is Regression set to No

When will you fix it? ;-)

Actions #5

Updated by Alexander Opitz over 9 years ago

  • Status changed from Needs Feedback to Closed

No feedback within the last 90 days => closing this issue.

If you think that this is the wrong decision or experience this issue again, then please write to the mailing list typo3.teams.bugs with issue number and an explanation or open a new ticket and add a relation to this ticket number.

Actions

Also available in: Atom PDF