Navigation

    Duet3D Logo

    Duet3D

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Documentation
    • Order

    G-codes for mkdir, upload/download files

    General Discussion
    3
    7
    537
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • lolorc
      lolorc last edited by

      Hi there,

      I'm a DuetWifi user with the latest stack of firmware.

      Is it possible to create a directory with a g-code ?

      is it possible to upload a g-code file (or any other file) to the sdcard with a g-code ?

      and is it possible to retrieve a file with a g-code ?

      1 Reply Last reply Reply Quote 0
      • dc42
        dc42 administrators last edited by

        You can't create a directory or retrieve a file (other than config.g) using gcode, but you can upload files. But you can do all of those things using HTTP commands.

        Duet WiFi hardware designer and firmware engineer
        Please do not ask me for Duet support via PM or email, use the forum
        http://www.escher3d.com, https://miscsolutions.wordpress.com

        1 Reply Last reply Reply Quote 0
        • lolorc
          lolorc last edited by

          Hi,

          Thanks for your answer.
          I'm trying to prevent the use of http/wifiserver since it has been unreliable for me for a long time.

          Can you provide me with an example on how to upload a g-code file to the sdcard from the serial/usb port please ?

          1 Reply Last reply Reply Quote 0
          • DADIY
            DADIY last edited by

            @lolorc:

            Hi,

            Thanks for your answer.
            I'm trying to prevent the use of http/wifiserver since it has been unreliable for me for a long time.

            Can you provide me with an example on how to upload a g-code file to the sdcard from the serial/usb port please ?

            Have you considered using FTP to upload/download files?

            1 Reply Last reply Reply Quote 0
            • lolorc
              lolorc last edited by

              nope, ftp is an even worst protocol than http, but I'll give it a try. But in the mean time I'd rather upload g-codes files to sdcard through my usb/serial port.

              1 Reply Last reply Reply Quote 0
              • dc42
                dc42 administrators last edited by

                See the descriptions of M28, M559 and M560 on the gcodes page of the wiki.

                Duet WiFi hardware designer and firmware engineer
                Please do not ask me for Duet support via PM or email, use the forum
                http://www.escher3d.com, https://miscsolutions.wordpress.com

                1 Reply Last reply Reply Quote 1
                • lolorc
                  lolorc last edited by

                  oh I saw M559 & M560 but I missed M28, Thanks

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post
                  Unless otherwise noted, all forum content is licensed under CC-BY-SA