Issue with file upload
Hello,
i think there an issue in file upload function. And related to mkswifi.bin, not webview code. (because Cura MKS wifi plugin is also affected by the issue)
le gcode file name is corrupted :
example :
filename.gcode -> filename.gcodeG
or
filename.gcode -> filename.gcodecoi餌
content is also corrupted and it's very strange :
Gcode are added at the end of file (and it's very annoying because the code block the printer at 99% print; M997 DFU mode, M994 SD/SPI Flash, M992 unknown ...)
;End of Gcode
M105
M997
M994
M992
M27
M105
M997
M994
M992
M27
M105
M997
M994
M992
M27
M105
M997
M994
M992
M27
M105
M997
M994
M992
M27
M105
M997
M994
M992
M27
M105
M997
M994
M992
M27
Sometines another sequence :
M105
M997
M994
M992
M27
M105
M997
M994
M992
M27
G91
G0 X10.0 Y0.0.0 Z0.0.0 F3000
G90
G91
G0 X10.0 Y0.0.0 Z0.0.0 F3000
G90
G91
G0 X10.0 Y0.0.0 Z0.0.0 F3000
G90
M105
M997
M994
M992
M27
G28 Z
M105
M997
M994
M992
M27