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

    Rr_download failing

    Scheduled Pinned Locked Moved
    General Discussion
    4
    5
    954
    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.
    • tomasfundefined
      tomasf
      last edited by

      I have noticed that rr_download (clicking the download button in the web interface) seems to fail with large files. It cuts out somewhere half-way and inserts an HTTP response, with headers and all, in the middle of the file data. I tried running it in curl:

      [c]curl "http://172.24.1.100/rr_download?name=%2Fgcodes%2FAnimals%2Fowl.gcode"[/c]

      [c][…tons of of G-code...]
      G1 Z9.028 F3600
      G1 X-2.120 Y21.120 F9000
      G1 Z8.928 F3600
      G1 E0.0000 F360HTTP/1.1 200 OK
      Cache-Control: no-cache, no-store, must-revalidate
      Pragma: no-cache
      Expires: 0
      Content-Type: application/json
      Content-Length: 9
      Connection: close

      curl: (18) transfer closed with 31668467 bytes remaining to read
      {"err":1}[/c]

      Is this a known bug? Thanks!

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

        I've just tried downloading some large files via the web interface, and they fail at around 2.5Mb with a similar symptom. Also the web interface disconnects. I didn't implement rr_download, but I'll take a look at the code when I get more time.

        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
        • Merlinundefined
          Merlin
          last edited by

          Excuse my ignorance but where is the Web Interface [Download] meant to Download to?
          If on the PC what Path & FileName?

          1 Reply Last reply Reply Quote 0
          • StephenRCundefined
            StephenRC
            last edited by

            The download should default to where ever your browser is set for.

            1 Reply Last reply Reply Quote 0
            • Merlinundefined
              Merlin
              last edited by

              Now I see why I could not find my 'Download' it always save it as rr_download.txt
              or rr_download-<n>.txt if you take the [Create New File] option instead of overwrite.</n>

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