diff --git a/filemanager/inc/class.filemanager_ui.inc.php b/filemanager/inc/class.filemanager_ui.inc.php index f7f61cccb7..be0f2a0bc2 100644 --- a/filemanager/inc/class.filemanager_ui.inc.php +++ b/filemanager/inc/class.filemanager_ui.inc.php @@ -579,6 +579,14 @@ class filemanager_ui foreach((array)$selected as $target) { $link = egw_vfs::concat($dir, egw_vfs::basename($target)); + if (!egw_vfs::stat($dir) || ($ok = egw_vfs::mkdir($dir,0,true))) + { + if(!$ok) + { + $errs++; + continue; + } + } if ($target[0] != '/') $target = egw_vfs::concat($dir, $target); if (!egw_vfs::stat($target)) {