--- a/eric6/WebBrowser/Sync/FtpSyncHandler.py Sat May 01 14:27:38 2021 +0200 +++ b/eric6/WebBrowser/Sync/FtpSyncHandler.py Thu Jun 03 11:39:23 2021 +0200 @@ -85,16 +85,16 @@ # do proxy setup proxyType = ( - E5FtpProxyType.NoProxy + E5FtpProxyType.NO_PROXY if not Preferences.getUI("UseProxy") else Preferences.getUI("ProxyType/Ftp") ) - if proxyType != E5FtpProxyType.NoProxy: + if proxyType != E5FtpProxyType.NO_PROXY: self.__ftp.setProxy( proxyType, Preferences.getUI("ProxyHost/Ftp"), Preferences.getUI("ProxyPort/Ftp")) - if proxyType != E5FtpProxyType.NonAuthorizing: + if proxyType != E5FtpProxyType.NON_AUTHORIZING: self.__ftp.setProxyAuthentication( Preferences.getUI("ProxyUser/Ftp"), Preferences.getUI("ProxyPassword/Ftp"),