public function configureResponse() { $this->Response->setDestinationPath($this->downloadDir); parent::configureResponse(); }