103 self.__changeToStore() |
103 self.__changeToStore() |
104 self.__ftp.retrlines("LIST", self.__dirListCallback) |
104 self.__ftp.retrlines("LIST", self.__dirListCallback) |
105 self.__initialSync() |
105 self.__initialSync() |
106 self.__state = "idle" |
106 self.__state = "idle" |
107 self.__idleTimer.start() |
107 self.__idleTimer.start() |
108 except (ftplib.all_errors, E5FtpProxyError) as err: |
108 except (ftplib.all_errors + (E5FtpProxyError,)) as err: |
109 self.syncError.emit(str(err)) |
109 self.syncError.emit(str(err)) |
110 |
110 |
111 def __connectAndLogin(self): |
111 def __connectAndLogin(self): |
112 """ |
112 """ |
113 Private method to connect to the FTP server and log in. |
113 Private method to connect to the FTP server and log in. |