diff -r 5db69f4c3d06 -r b048e15729d6 filebrowser/engine/FBFileOps.cpp --- a/filebrowser/engine/FBFileOps.cpp Mon Aug 23 15:50:54 2010 +0300 +++ b/filebrowser/engine/FBFileOps.cpp Fri Sep 03 17:11:21 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); }