code: protected void createExportFolder(String exportPath, String rfsName) throws CmsException {
  
          String exportFolderName = CmsFileUtil.normalizePath(exportPath + CmsResource.getFolderPath(rfsName));
          File exportFolder = new File(exportFolderName);
          if (!exportFolder.exists()) {
              // in case of concurrent requests to create this folder, check the folder existence again
              if (!exportFolder.mkdirs() && !exportFolder.exists()) {
                  throw new CmsStaticExportException(Messages.get().container(Messages.ERR_CREATE_FOLDER_1, rfsName));
              }
          }
      }
docs: Creates the parent folder for a exported resource in the RFS.<p>
  
  @param exportPath the path to export the file
  @param rfsName the rfs name of the resource
  
  @throws CmsException if the folder could not be created