diff -r 11fa016241a4 -r da3ec8478e66 filebrowser/engine/FBFileOps.cpp --- a/filebrowser/engine/FBFileOps.cpp Thu Sep 02 20:27:24 2010 +0300 +++ b/filebrowser/engine/FBFileOps.cpp Fri Sep 17 08:29:47 2010 +0300 @@ -391,6 +391,8 @@ { TRAP(err, DoFindEntriesRecursiveL(_L("*"), sourcePath)); // recursively under directories of current directory entry } + // ensure that target folder exists in case of copying empty folder + BaflUtils::EnsurePathExistsL(iFs, targetPath); // a path has a trailing backslash so it needs to be removed before the call err = FileOpAttribs(targetPath.Left(targetPath.Length()-1), aSourceEntry.iEntry.iAtt, 0, 0, 0); }