[GH-ISSUE #475] [Bug]: FTP download failed - Even with permissions set correctly #297

Closed
opened 2026-05-06 12:28:00 +02:00 by BreizhHardware · 12 comments

Originally created by @wreuel on GitHub (Feb 20, 2026).
Original GitHub issue: https://github.com/maziggy/bambuddy/issues/475

Originally assigned to: @maziggy on GitHub.

Bug Description

The permissions on /data/* are correct:

drwxr-sr-x 5 [myuser] [mygroup] 4096 Feb 20 21:26 bambubuddy
drwxr-sr-x 4 [myuser] [mygroup] 4096 Feb 20 21:26 bambubuddy/data/archive/

But the file is not correctly downloaded to the folder, showing error 550.

Expected Behavior

It should save correctly

Steps to Reproduce

Send a print from bambu studio, wait to finish and try to open the file or download.

Printer Model

P2S

Bambuddy Version

v0.2.1b

Printer Firmware Version

01.01.03.00

Installation Method

Docker

Operating System

Linux (Ubuntu/Debian)

Relevant Logs / Support Package

bambuddy-support-20260220-213553-REMOVEDSERIAL.zip

Screenshots

No response

Additional Context

No response

Checklist

  • I have searched existing issues to ensure this bug hasn't already been reported
  • I am using the latest version of Bambuddy
  • My printer is set to LAN Only mode
Originally created by @wreuel on GitHub (Feb 20, 2026). Original GitHub issue: https://github.com/maziggy/bambuddy/issues/475 Originally assigned to: @maziggy on GitHub. ### Bug Description The permissions on /data/* are correct: drwxr-sr-x 5 [myuser] [mygroup] 4096 Feb 20 21:26 bambubuddy drwxr-sr-x 4 [myuser] [mygroup] 4096 Feb 20 21:26 bambubuddy/data/archive/ But the file is not correctly downloaded to the folder, showing error 550. ### Expected Behavior It should save correctly ### Steps to Reproduce Send a print from bambu studio, wait to finish and try to open the file or download. ### Printer Model P2S ### Bambuddy Version v0.2.1b ### Printer Firmware Version 01.01.03.00 ### Installation Method Docker ### Operating System Linux (Ubuntu/Debian) ### Relevant Logs / Support Package [bambuddy-support-20260220-213553-REMOVEDSERIAL.zip](https://github.com/user-attachments/files/25453325/bambuddy-support-20260220-213553-REMOVEDSERIAL.zip) ### Screenshots _No response_ ### Additional Context _No response_ ### Checklist - [x] I have searched existing issues to ensure this bug hasn't already been reported - [x] I am using the latest version of Bambuddy - [x] My printer is set to LAN Only mode
BreizhHardware 2026-05-06 12:28:00 +02:00
  • closed this issue
  • added the
    invalid
    label
Author
Owner

@maziggy commented on GitHub (Feb 21, 2026):

Debug logs are not attached. Please re-upload.

<!-- gh-comment-id:3938411881 --> @maziggy commented on GitHub (Feb 21, 2026): Debug logs are not attached. Please re-upload.
Author
Owner

@wreuel commented on GitHub (Feb 21, 2026):

Debug logs are not attached. Please re-upload.
Now you have it! The link was there, was just not well formatted! @maziggy
https://github.com/user-attachments/files/25453325/bambuddy-support-20260220-213553-REMOVEDSERIAL.zip

<!-- gh-comment-id:3938525150 --> @wreuel commented on GitHub (Feb 21, 2026): > Debug logs are not attached. Please re-upload. Now you have it! The link was there, was just not well formatted! @maziggy [https://github.com/user-attachments/files/25453325/bambuddy-support-20260220-213553-REMOVEDSERIAL.zip](https://github.com/maziggy/bambuddy/issues/url)
Author
Owner

@maziggy commented on GitHub (Feb 21, 2026):

P2S is processing print files different than older printer models. Should be fixed in branch 0.2.1b2. Please let me know how it goes.

<!-- gh-comment-id:3938581837 --> @maziggy commented on GitHub (Feb 21, 2026): P2S is processing print files different than older printer models. Should be fixed in branch 0.2.1b2. Please let me know how it goes.
Author
Owner

@wreuel commented on GitHub (Feb 21, 2026):

P2S is processing print files different than older printer models. Should be fixed in branch 0.2.1b2. Please let me know how it goes.

@maziggy just installed the newest and still, I couldn't get the file over.

<!-- gh-comment-id:3938973157 --> @wreuel commented on GitHub (Feb 21, 2026): > P2S is processing print files different than older printer models. Should be fixed in branch 0.2.1b2. Please let me know how it goes. @maziggy just installed the newest and still, I couldn't get the file over.
Author
Owner

@maziggy commented on GitHub (Feb 21, 2026):

Without logs i cannot do anything ;)

<!-- gh-comment-id:3939006601 --> @maziggy commented on GitHub (Feb 21, 2026): Without logs i cannot do anything ;)
Author
Owner

@maziggy commented on GitHub (Feb 21, 2026):

Also did you pull the latest image re-build the container locally?

<!-- gh-comment-id:3939007904 --> @maziggy commented on GitHub (Feb 21, 2026): Also did you pull the latest image re-build the container locally?
Author
Owner

@wreuel commented on GitHub (Feb 21, 2026):

@maziggy logs, sorry I didn't sent earlier!

I have pulled from the registry and updated my container correctly.

bambuddy.log
support-info.json

<!-- gh-comment-id:3939012068 --> @wreuel commented on GitHub (Feb 21, 2026): @maziggy logs, sorry I didn't sent earlier! I have pulled from the registry and updated my container correctly. [bambuddy.log](https://github.com/user-attachments/files/25459221/bambuddy.log) [support-info.json](https://github.com/user-attachments/files/25459220/support-info.json)
Author
Owner

@maziggy commented on GitHub (Feb 21, 2026):

Good news: the "Is a directory" error from before is gone on 0.2.1b2.

However, I can see that your archive (id 3, "ButtonTwo") was created but without a file_path — meaning the 3MF source file wasn't downloaded from the printer's SD card.
The log also shows Failed to delete /ButtonTwo.3mf: 550 Delete operation failed and Failed to delete /ButtonTwo.gcode: 550 Delete operation failed during SD card cleanup.

Could you clarify what exactly is failing for you? Specifically:

  1. Are you trying to send a print from Bambuddy to the printer and it's not arriving?
  2. Or is the print completing fine but the archive/download of the 3MF afterwards is missing/broken?
  3. Or something else entirely?

Also — debug logging was only enabled at 15:42 and the print was already running by then. If the issue happens at print start (sending the file), could you enable debug logging before starting the print and share the logs again? That way we can capture the full FTP upload/download sequence.

<!-- gh-comment-id:3939028761 --> @maziggy commented on GitHub (Feb 21, 2026): Good news: the "Is a directory" error from before is gone on 0.2.1b2. However, I can see that your archive (id 3, "ButtonTwo") was created but without a file_path — meaning the 3MF source file wasn't downloaded from the printer's SD card. The log also shows Failed to delete /ButtonTwo.3mf: 550 Delete operation failed and Failed to delete /ButtonTwo.gcode: 550 Delete operation failed during SD card cleanup. Could you clarify what exactly is failing for you? Specifically: 1. Are you trying to send a print from Bambuddy to the printer and it's not arriving? 2. Or is the print completing fine but the archive/download of the 3MF afterwards is missing/broken? 3. Or something else entirely? Also — debug logging was only enabled at 15:42 and the print was already running by then. If the issue happens at print start (sending the file), could you enable debug logging before starting the print and share the logs again? That way we can capture the full FTP upload/download sequence.
Author
Owner

@wreuel commented on GitHub (Feb 21, 2026):

bambuddy.log

Newest log as you asked!

I'm printing from bambu studio. The print is finished good, but doesn't show up on the archive.

<!-- gh-comment-id:3939051116 --> @wreuel commented on GitHub (Feb 21, 2026): [bambuddy.log](https://github.com/user-attachments/files/25459427/bambuddy.log) Newest log as you asked! I'm printing from bambu studio. The print is finished good, but doesn't show up on the archive.
Author
Owner

@maziggy commented on GitHub (Feb 21, 2026):

Do you know what's funny?

All your tickets are related to "The print is finished good, but doesn't show up on the archive.". So if you would have opened your first ticket for this, it would have resolved all other issues. So you tested it from the end to the beginning :)

Hahaha...never had that before.

Anyway, let me check....that's for sure the FTP session.

<!-- gh-comment-id:3939061525 --> @maziggy commented on GitHub (Feb 21, 2026): Do you know what's funny? All your tickets are related to "The print is finished good, but doesn't show up on the archive.". So if you would have opened your first ticket for this, it would have resolved all other issues. So you tested it from the end to the beginning :) Hahaha...never had that before. Anyway, let me check....that's for sure the FTP session.
Author
Owner

@maziggy commented on GitHub (Feb 21, 2026):

Unfortunately the debug logging was enabled after the print had already finished — the log starts with FINISH -> FINISH. The 3MF download from the printer happens when the print starts (RUNNING state detected), not when it finishes.

Could you try this:

  1. Enable debug logging in Settings
  2. Then start a new print from BambuStudio
  3. Wait for the print to finish
  4. Send the logs

This will capture the full FTP download sequence so we can see exactly which paths are tried and why they all fail on your P2S.

<!-- gh-comment-id:3939063577 --> @maziggy commented on GitHub (Feb 21, 2026): Unfortunately the debug logging was enabled after the print had already finished — the log starts with FINISH -> FINISH. The 3MF download from the printer happens when the print starts (RUNNING state detected), not when it finishes. Could you try this: 1. Enable debug logging in Settings 2. Then start a new print from BambuStudio 3. Wait for the print to finish 4. Send the logs This will capture the full FTP download sequence so we can see exactly which paths are tried and why they all fail on your P2S.
Author
Owner

@wreuel commented on GitHub (Feb 22, 2026):

Well, I went to check everything here again!

And after a reset on everything it worked! I have Timelapse, Gcode file and Image! :)

<!-- gh-comment-id:3939740455 --> @wreuel commented on GitHub (Feb 22, 2026): Well, I went to check everything here again! And after a reset on everything it worked! I have Timelapse, Gcode file and Image! :)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/bambuddy#297
No description provided.