String user = getProperty(prop, "dataTarget.user");
String password = getProperty(prop, "dataTarget.password");
mDataTarget = new FtpDataTarget(url, path, port, user, password);
} else if (type.equals("file")) {
String dir = getProperty(prop, "dataTarget.dir");
mDataTarget = new FileDataTarget(new File(dir));
} else {
throw new UpdateException("dataTarget.type must be either 'ftp' or 'file'");
}
}
catch (Exception exc) {