public function wget($httpFile, $remote, $mode = FTP_BINARY)
    {
        if (! ini_get('allow_url_fopen')) {
            throw new \RuntimeException('allow_url_fopen must enabled');
        }
        if (! $handle = fopen($httpFile)) {
            throw new \RuntimeException('File can not opened');
        }
        if (! ftp_fput($this->session, $remote, $handle, $mode) ) {
            throw new FileException('File not uploaded to ftp server');
        }
        fclose($handle);
        return true;
    }