File transfer complete

This commit is contained in:
david rice
2026-04-07 15:58:01 +01:00
parent 6e65c85c07
commit c19e8138df
3 changed files with 65 additions and 24 deletions

View File

@@ -265,10 +265,8 @@ def mgmt_worker():
print("[MGMT] PAUSING TEST — RUNNING MANAGEMENT TASKS...")
resume_event.clear()
try:
files = ai_mgmt.list_csv_files(ai_mgmt.SERVER, ai_mgmt.SHARE)
print(f"[MGMT] FOUND {len(files)} CSV FILE(S) ON SCOPE DRIVE.")
for f in files:
print(f" {f}")
copied, failed = ai_mgmt.transfer_csv_files()
print(f"[MGMT] TRANSFERRED {copied} FILE(S) TO DATA FOLDER. {failed} FAILED.")
except Exception as e:
print(f"[MGMT] ERROR: {e}")
finally: