v0.2.2.2 (#830)
This commit is contained in:
MartinNYHC
2026-03-27 09:27:47 +01:00
committed by GitHub
parent 8270030687
commit 67f91d94de
112 changed files with 18595 additions and 9993 deletions
+2
View File
@@ -1571,6 +1571,8 @@ class PrintScheduler:
elif base_name.endswith(".3mf"):
base_name = base_name[:-4] # Remove .3mf
remote_filename = f"{base_name}.3mf"
# Sanitize: firmware parses ftp://{filename} as a URL, spaces break it
remote_filename = remote_filename.replace(" ", "_")
# Upload to root directory (not /cache/) - the start_print command references
# files by name only (ftp://{filename}), so they must be in the root
remote_path = f"/{remote_filename}"