public function __construct($url, array $options = array())
 {
     $this->setRequest(new POSTFile());
     $this->setResponse(new JSON($this->Request->getCurlObject()));
     parent::__construct($url, $options);
 }
 public function configureResponse()
 {
     $this->Response->setDestinationPath($this->downloadDir);
     parent::configureResponse();
 }