updated backups system
This commit is contained in:
@@ -133,7 +133,7 @@ class sftp_remote:
|
||||
local_temp_folder = local_path_get + "/tempfolder/"
|
||||
try:
|
||||
self.connect()
|
||||
#print('remote_path chdir: ', remote_path)
|
||||
print('remote_path chdir: ', remote_path)
|
||||
self.sftp.chdir(remote_path) # Test if remote_path exists
|
||||
except IOError:
|
||||
self.sftp.mkdir(remote_path)
|
||||
@@ -204,3 +204,4 @@ class sftp_remote:
|
||||
|
||||
def delete_local_zip(self, local_zip_path_name):
|
||||
os.remove(local_zip_path_name)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user