diff --git a/libraries/entropy.py b/libraries/entropy.py index 560a1b6dc..aadcb6390 100644 --- a/libraries/entropy.py +++ b/libraries/entropy.py @@ -4132,6 +4132,8 @@ class FtpInterface: def uploadFile(self,file,ascii = False): + self.oldprogress = 0.0 + def uploadFileAndUpdateProgress(buf): self.updateProgress(len(buf)) @@ -4178,6 +4180,8 @@ class FtpInterface: def downloadFile(self,filepath,downloaddir,ascii = False): + self.oldprogress = 0.0 + def downloadFileStoreAndUpdateProgress(buf): # writing file buffer f.write(buf)