Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Octoprint renames auto0.g to auto0.gco on upload to SD #1314

Closed
Lenbok opened this issue Apr 17, 2016 · 1 comment

Comments

Projects
None yet
2 participants
@Lenbok
Copy link

commented Apr 17, 2016

What were you doing?

Marlin supports running gcode files automatically on startup. This is a handy way to run printer initialization commands or store settings that cannot be saved to EEPROM.

If you use octoprint to upload auto0.g to the SD card, it is renamed to auto0.gco

What did you expect to happen?

The file should be uploaded with the name provided.

What happened instead?

The file was renamed to auto0.gco

Branch & Commit or Version of OctoPrint

1.2.10

Printer model & used firmware incl. version

Mendel90, Marlin (an oldish version)

Browser and Version of Browser, Operating System running Browser

I have read the FAQ.

@foosel foosel added this to the 1.2.12 milestone May 20, 2016

foosel added a commit that referenced this issue Jun 1, 2016

Whitelist .g extensions on sd file upload
That way uploading something like auto0.g will not
cause a rename to auto0.gco anymore.

Closes #1314

@foosel foosel added the status:solved label Jun 1, 2016

@foosel

This comment has been minimized.

Copy link
Owner

commented Jun 1, 2016

Fixed in maintenance and devel branches, will be part of the next release.

@foosel foosel closed this Jun 1, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.