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

    Order Files by Date UPLOADED!

    Scheduled Pinned Locked Moved
    Duet Web Control wishlist
    5
    10
    580
    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.
    • airscapesundefined
      airscapes
      last edited by

      Trying to transition from Octoprint but the fact I can not order my files by date uploaded descending is a real pain in the ass.. using 3.3.0. Is this something that has already been asked for as I did not find a thread when trying to search.. Or is there a way to add that to the columns?
      Thanks!

      chrishammundefined 1 Reply Last reply Reply Quote 0
      • Adamfilipundefined
        Adamfilip
        last edited by

        @airscapes mine sort by Data modified, which is usually the upload date..
        cant you just click on date modified and have it sort them that way?

        airscapesundefined 1 Reply Last reply Reply Quote 2
        • airscapesundefined
          airscapes @Adamfilip
          last edited by airscapes

          @adamfilip If the system was looking at the date the file was written to on the SD card yes, but it is not. If I upload a file that was sliced 6 months ago, it will be at the end of the list, not the top. Yes sort the other way but what if I have 60 files and the one I upload falls in the middle of time between oldest and newest.

          I don't always reslice, so how do I find something quickly I just uploaded?? I am not going to build a huge directory tree on the SD card , that is already done on my computer. The end point is where the file live for the short time it is printed and if I want to reprint it in the future, a search would be how anyone does that sort of thing in any Gui, but that missing item is in a different post. 😲

          engikeneerundefined 1 Reply Last reply Reply Quote 0
          • engikeneerundefined
            engikeneer @airscapes
            last edited by

            @airscapes if I'm honest, I often just use the
            'UPLOAD & START' button in the top right of DWC. That way you get around the issue you're seeing.

            There's no harm in re-uploading a file that's already there, and it's always gonna be quicker to search through and find files on your local machine than it is on anything remote, and unless the files are massive, the upload time is only a few seconds

            E3D TC with D3Mini and Toolboards.
            Home-built CoreXY, Duet Wifi, Chimera direct drive, 2x BMG, 300x300x300 build volume
            i3 clone with a bunch of mods

            airscapesundefined 1 Reply Last reply Reply Quote 0
            • airscapesundefined
              airscapes @engikeneer
              last edited by

              @engikeneer That is true and will have to due. Now I think about it, unlike Octoprint that runs on a Pi with full OS, this board does not know what day or time it is, so I guess it uses the date stamp on the file from the pervious OS.

              zaptaundefined 1 Reply Last reply Reply Quote 0
              • zaptaundefined
                zapta @airscapes
                last edited by zapta

                @airscapes said in Order Files by Date UPLOADED!:

                this board does not know what day or time it is, so I guess it uses the date stamp on the file from the pervious OS

                In this case it will be up to uploaders, such as DWC and Prusa Slicer, to use the current timestamp.

                I think that this is where it gets the uploaded file time https://github.com/Duet3D/RepRapFirmware/blob/dev/src/Networking/HttpResponder.cpp#L1179

                1 Reply Last reply Reply Quote 1
                • chrishammundefined
                  chrishamm administrators @airscapes
                  last edited by

                  @airscapes It would be quite easy to add a new option to DWC to use the current datetime as the file timestamp instead of the last modified timestamp from the file itself. Do you think that would help?

                  Duet software engineer

                  airscapesundefined 1 Reply Last reply Reply Quote 2
                  • airscapesundefined
                    airscapes @chrishamm
                    last edited by airscapes

                    @chrishamm I think the issue is the time samp is from the remote location as the duet does not know what time it is. If the file on the remote system is 90 days old, that will be the time stamp it has once it is uploaded. That is my assumption as to how it works. The Duet is not a Pi.. it is just a microprocssor so rather limiteed in processing and it has no full OS. If the file does get a current time stamp when uploaded, and I am totally wrong, then that would be what I am asking for.

                    chrishammundefined 1 Reply Last reply Reply Quote 0
                    • chrishammundefined
                      chrishamm administrators @airscapes
                      last edited by chrishamm

                      @airscapes That isn't entirely right - when you connect, RRF updates its time from the browser's datetime (and in SBC mode it's synchronized with the Pi). So when you upload a file without a timestamp, RRF will use the current one as stored in the RAM.

                      I was considering to pass the browser's datetime instead of the file's timestamp to the upload request, though, if configured by the user.

                      Duet software engineer

                      airscapesundefined 1 Reply Last reply Reply Quote 2
                      • airscapesundefined
                        airscapes @chrishamm
                        last edited by airscapes

                        @chrishamm That is great news! My wife will be very happy to know I was still WRONG!! 🙂 and in this case I am happy as well! If this could be added at some point with the abilityt sort on it decending so most recent upload is always at the top, would be perfect.

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