src/Remote.php
public function setDownloadPath($downloadPath)
    {
        if (!is_dir($downloadPath) || !is_writable($downloadPath)) {
            trigger_error('Cannot write to directory: ' . $downloadPath, E_USER_ERROR);
        }
        $this->downloadPath = $downloadPath;
    }
public function setDownloadPath($downloadPath)
    {
        if (!is_dir($downloadPath) || !is_writable($downloadPath)) {
            trigger_error('Cannot write to directory: ' . $downloadPath, E_USER_ERROR);
        }
        $this->downloadPath = $downloadPath;
    }
public function setDownloadPath ( $ downloadPath ) { if ( ! is_dir ( $ downloadPath ) || ! is_writable ( $ downloadPath ) ) { trigger_error ( 'Cannot write to directory: ' . $ downloadPath , E_USER_ERROR ) ; } $ this -> downloadPath = $ downloadPath ; }
Sets the path at which to store downloaded files.

@param string $downloadPath
Sets the path at which to store downloaded files .