filestack/Filelink.php
public function download($destination)
    {
        // call CommonMixin function
        $result = $this->sendDownload($this->url(), $destination, $this->security);
        return $result;
    }
public function download($destination)
    {
        // call CommonMixin function
        $result = $this->sendDownload($this->url(), $destination, $this->security);
        return $result;
    }
public function download ( $ destination ) { // call CommonMixin function $ result = $ this -> sendDownload ( $ this -> url ( ) , $ destination , $ this -> security ) ; return $ result ; }
Download filelink as a file, saving it to specified destination

@param string    $destination        destination filepath to save to, can
be folder name (defaults to stored filename)

@throws FilestackException   if API call fails

@return bool (true = download success, false = failed)
Download filelink as a file saving it to specified destination