if (AuthLevelmanagement.getInstance().checkWebServiceLevel(User_level)){
String current_dir = getServletContext().getRealPath("/");
ApplicationContext context = WebApplicationContextUtils.getWebApplicationContext(getServletContext());
FileProcessor fileProcessor = (FileProcessor) context.getBean("openmeetings.FileProcessor");
URL url = new URL(path);
URLConnection uc = url.openConnection();
InputStream inputstream = new BufferedInputStream(uc.getInputStream());
Users externalUser = Usermanagement.getInstance().getUserByExternalIdAndType(externalUserId, externalType);
LinkedHashMap<String, Object> hs = new LinkedHashMap<String, Object>();
hs.put("user", externalUser);
HashMap<String, HashMap<String, Object>> returnError = fileProcessor.processFile(externalUser.getUser_id(), room_id, isOwner, inputstream, parentFolderId, fileSystemName, current_dir, hs, externalFileId, externalType);
HashMap<String, Object> returnAttributes = returnError.get("returnAttributes");
// Flash cannot read the response of an upload
// httpServletResponse.getWriter().print(returnError);