public CurlConnection(String endpoint, String user,String password, String curlCommand,String curlDrop, 
			String curlURL, String curlUpdate){
		Logger log = Logger.getLogger(this.getClass().getName());
		log.setLevel(Level.FINE);
		this.setLogger(log);
		LogHandler.initLogFileHandler(log, "Connection");
		this.curlCommand = curlCommand;
		this.curlDrop = curlDrop;
		this.curlURL = curlURL!=null? curlURL : endpoint;
		this.curlUpdate = curlUpdate;
	}