• Tags
  • Documentation
  • Order
  • Register
  • Login
Duet3D Logo Duet3D
  • Tags
  • Documentation
  • Order
  • Register
  • Login

Editing files in /sys/subdirectory???

Scheduled Pinned Locked Moved
Duet Web Control
4
15
434
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.
  • undefined
    Danal
    last edited by 28 Sept 2019, 17:30

    Duet Web Control does not support editing arbitrary files in arbitrary directories.

    You can turn on FTP and transfer/edit/transfer anything anywhere on the SD. When FTP is on, so is SFTP and some editors will use (one of these) to make it fairly seamless. Many people do this simply to use an "editor of choice" instead of the primitive edit capability build into DWC.

    Make sense?

    Delta / Kossel printer fanatic

    1 Reply Last reply Reply Quote 0
    • undefined
      T3P3Tony administrators @GeorgeM
      last edited by T3P3Tony 28 Sept 2019, 17:31

      @GeorgeM

      On 1.X versions of DWC this is not available as far as I remember

      On 2.X version go to system and the option to make and enter directories should work

      www.duet3d.com

      1 Reply Last reply Reply Quote 0
      • undefined
        Dougal1957 @GeorgeM
        last edited by Dougal1957 28 Sept 2019, 17:32

        @GeorgeM said in Editing files in /sys/subdirectory???:

        Since I am using my machine for both printing and laser engraving, I am making use of the M505 command to use alternate configuration files. However it seems like I cannot edit the files in the directory under the sys directory. I have to put the card in my computer to edit them. Is there something I am missing or is that a request that should go in for an enhancement?

        It works for me on the latest system Not tried it on v2 system tho

        Just tested on V2 of DWC and it works ok there as well

        1 Reply Last reply Reply Quote 0
        • undefined
          Danal @GeorgeM
          last edited by Danal 28 Sept 2019, 17:33

          @GeorgeM said in Editing files in /sys/subdirectory???:

          files in the directory under the sys directory

          @T3P3Tony said in Editing files in /sys/subdirectory???:

          go to system and the files are there

          Tony, I don't believe that DWC supports editing files in sub directories under /sys

          Delta / Kossel printer fanatic

          1 Reply Last reply Reply Quote 0
          • undefined
            Dougal1957
            last edited by Dougal1957 28 Sept 2019, 17:35

            DWC V2.x certainly supports having the directories and contents but what it will do with them I am not sure

            undefined 1 Reply Last reply 28 Sept 2019, 17:36 Reply Quote 0
            • undefined
              Danal @Dougal1957
              last edited by 28 Sept 2019, 17:36

              @Dougal1957 said in Editing files in /sys/subdirectory???:

              DWC V2.x certainly supports having the directories and contents but what it will do with them I am not sure

              Having them, yes. Editing files in them??

              Delta / Kossel printer fanatic

              undefined 1 Reply Last reply 28 Sept 2019, 17:37 Reply Quote 0
              • undefined
                Dougal1957 @Danal
                last edited by 28 Sept 2019, 17:37

                @Danal said in Editing files in /sys/subdirectory???:

                @Dougal1957 said in Editing files in /sys/subdirectory???:

                DWC V2.x certainly supports having the directories and contents but what it will do with them I am not sure

                Having them, yes. Editing files in them??

                Yes I can edit them as well!

                1 Reply Last reply Reply Quote 0
                • undefined
                  Danal
                  last edited by 28 Sept 2019, 17:45

                  Yep, just answered my own question. Web 1.x doesn't let you, Web 2.x does. Thanks @Dougal1957 !!

                  Latest repository: https://github.com/chrishamm/DuetWebControl check under "releases".

                  Delta / Kossel printer fanatic

                  undefined 1 Reply Last reply 28 Sept 2019, 17:54 Reply Quote 0
                  • undefined
                    GeorgeM @Danal
                    last edited by 28 Sept 2019, 17:54

                    @Danal Is "package.json" the file I should dl?

                    undefined 1 Reply Last reply 28 Sept 2019, 17:59 Reply Quote 0
                    • undefined
                      T3P3Tony administrators @GeorgeM
                      last edited by T3P3Tony 28 Sept 2019, 17:59

                      @GeorgeM go to:

                      https://github.com/chrishamm/DuetWebControl/releases

                      and grab the appropriate zip file for your Duet (duet 2 or Duet 3)

                      The contents go in the www directory

                      www.duet3d.com

                      undefined 1 Reply Last reply 28 Sept 2019, 18:03 Reply Quote 0
                      • undefined
                        GeorgeM @T3P3Tony
                        last edited by 28 Sept 2019, 18:03

                        @T3P3Tony Never mind. I figured it out.

                        1 Reply Last reply Reply Quote 0
                        • undefined
                          GeorgeM
                          last edited by 28 Sept 2019, 18:43

                          Well I spoke too soon. I dl from here
                          https://github.com/chrishamm/DuetWebControl/tree/next
                          which is the "next" tree of DWC.
                          It downloads a file DuetWebControl-next.zip
                          But when I install this from within DWC 1.22.6 I see it unzipping a lot of files and then a blank screen.
                          I have to copy my backup /www directory onto the card to get back up.
                          Do I have the wrong file?

                          undefined 1 Reply Last reply 28 Sept 2019, 19:10 Reply Quote 0
                          • undefined
                            T3P3Tony administrators @GeorgeM
                            last edited by 28 Sept 2019, 19:10

                            @GeorgeM

                            @T3P3Tony said in Editing files in /sys/subdirectory???:

                            @GeorgeM go to:

                            https://github.com/chrishamm/DuetWebControl/releases

                            and grab the appropriate zip file for your Duet (duet 2 or Duet 3)

                            The contents go in the www directory

                            www.duet3d.com

                            undefined 1 Reply Last reply 28 Sept 2019, 19:35 Reply Quote 0
                            • undefined
                              GeorgeM @T3P3Tony
                              last edited by 28 Sept 2019, 19:35

                              @T3P3Tony Thank You. That works.

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