//check if command is executed on a file list containing invalid filenames or paths
if(fileSelection.getInvalidFileNames().size()>0) {
main.contextPut("invalidFileNames", fileSelection.getInvalidFileNames());
}
selTree = new SelectionTree("seltree", trans);
selTree.setFormButtonKey(move ? "move" : "copy");
selTree.setActionCommand(COMMAND_PROCESS_MOVE);
FolderTreeModel ftm = new FolderTreeModel(ureq.getLocale(), fc.getRootContainer(),
true, false, true, fc.getRootContainer().canWrite() == VFSConstants.YES, null);
selTree.setTreeModel(ftm);