code: public function setDestinationPath($destination = null)
      {
          if (empty($destination)) {
              $destination = sys_get_temp_dir().'/SugarAPI';
          }
          $this->destinationPath = $destination;
          return $this;
      }
docs: Configure the Destination path to store the File response
  @param null $destination
  @return self