Pop\Ftp\Ftp::get PHP Метод

get() публичный Метод

Get file.
public get ( string $local, string $remote, integer | string $mode = FTP_BINARY ) : Ftp
$local string
$remote string
$mode integer | string
Результат Ftp
    public function get($local, $remote, $mode = FTP_BINARY)
    {
        if (!ftp_get($this->conn, $local, $remote, $mode)) {
            throw new Exception('Error: There was an error getting the file ' . $remote);
        }
        return $this;
    }