Fix login denied (67) errors when trying to download certificates
[dcpomatic.git] / src / wx / dolby_doremi_certificate_panel.cc
index c37b42e43796193d4fe1276094aca11ab77a7b70..0ad3058c287babf1ba645732f7e63328ece6b415 100644 (file)
@@ -145,7 +145,7 @@ DolbyDoremiCertificatePanel::do_download ()
 
        /* Try dcp2000, imb and ims prefixes (see mantis #375) */
 
-       string const prefix = "ftp://anonymous@ftp.cinema.dolby.com/Certificates/";
+       string const prefix = "ftp://ftp.cinema.dolby.com/Certificates/";
        list<string> urls;
        list<string> files;
 
@@ -177,7 +177,7 @@ DolbyDoremiCertificatePanel::do_download ()
        list<string>::const_iterator i = urls.begin ();
        list<string>::const_iterator j = files.begin ();
        while (!ok && i != urls.end ()) {
-               optional<string> error = get_from_zip_url (*i++, *j++, true, true, boost::bind (&DownloadCertificatePanel::load, this, _1));
+               optional<string> error = get_from_zip_url (*i++, *j++, true, true, boost::bind (&DownloadCertificatePanel::load_certificate, this, _1));
                if (error) {
                        errors.push_back (error.get ());
                } else {