Unable to set a file's name when uploading #933
Unanswered
jbernardis
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to specify the filename I want to use within klipper/moonraker, but it just uses the actual filename of the file. So, for example, if I upload x.gcode, but say to name it "y.gcode", it ignores the "y" request and just names the file "x.gcode"
The upload works fine, but the actual filename is used instead of the filename I give it. Here is my code:
filename is a string that I want to use as the name, and filep is an open file pointer
it just seems to ignore the "filename" parameter. Am I doing something wrong? or omitting something?
Beta Was this translation helpful? Give feedback.
All reactions