File copying = 7 clicks
After 4.5 copying files in fileadmin has been made difficult.
In 4.5 you could copy and paste the file easily in the same folder because the system added the _01, _02 and so on into the file name = 2 clicks and the file was copied.
Now this feature has been gone for years. At the moment in 6.2 you have to
1. copy the file
2. go to another folder
4. rename the file
5. cut the file
6. go back to original folder
7. paste the file
= 7 clicks.
Updated by Georg Ringer almost 6 years ago
problem is in
\TYPO3\CMS\Core\Utility\File\ExtendedFileUtility::func_copy there is a check
$appendSuffixOnConflict = (string)$cmds['altName'];
but altName can not be configured. setting this to 1 triggers the creation of a new file.
if you need that urgently for your project, xclass this file and change it.
Updated by Morton Jonuschat almost 6 years ago
- Status changed from New to Closed
After discussing this in the Core Team we won't have this in the core at this time. If you need this edge case please use the suggested XCLASS approach.
If you think that this is the wrong decision 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.