Skip to content

Conversation

@terrafrost
Copy link
Contributor

@terrafrost terrafrost commented May 21, 2024

When folders are being copied elFinder creates the destination folder and then iterates through the source folder copying, individually, all the files contained within.

When folders are being moved, however, elFinder just tries to move the destination folder to the source folder and that's that.

Altho some underlying drivers may support that not all do. This PR makes it so that if moving a folder fails it tries to copy the source folder to the destination folder and then it tries to delete the source folder.

This provides a workaround for #3649

@nao-pon nao-pon merged commit 6c3ac22 into Studio-42:master Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants