HISE Logo Forum
    • Categories
    • Register
    • Login

    downloadFile doesn't seem to overwrite

    Scheduled Pinned Locked Moved Bug Reports
    14 Posts 5 Posters 457 Views
    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.
    • DanHD
      DanH @d.healey
      last edited by

      @d-healey I'm finding the download function to be rather unreliable. On Mac it's just about ok, but windows not - lots of stopping before the download has finished and 'if(this.data.finished)' seems to activate anyway, even though file is not complete....

      Think I'm going to park it for now tbh

      Anyone having success with it?

      DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
      https://dhplugins.com/ | https://dcbreaks.com/
      London, UK

      ? d.healeyD 2 Replies Last reply Reply Quote 0
      • ?
        A Former User @DanH
        last edited by

        Looks intresting.

        Is there any limitation for downloading files?

        DanHD 1 Reply Last reply Reply Quote 0
        • DanHD
          DanH @A Former User
          last edited by

          @Steve-Mohican a file size over 2GB was causing me issues

          DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
          https://dhplugins.com/ | https://dcbreaks.com/
          London, UK

          1 Reply Last reply Reply Quote 0
          • d.healeyD
            d.healey @DanH
            last edited by

            @DanH Check your firewall settings.

            Anyone having success with it?

            PercX

            Libre Wave - Freedom respecting instruments and effects
            My Patreon - HISE tutorials
            YouTube Channel - Public HISE tutorials

            DanHD Christoph HartC 2 Replies Last reply Reply Quote 0
            • DanHD
              DanH @d.healey
              last edited by

              @d-healey 😬

              DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
              https://dhplugins.com/ | https://dcbreaks.com/
              London, UK

              1 Reply Last reply Reply Quote 0
              • Christoph HartC
                Christoph Hart @d.healey
                last edited by

                @d-healey not really, PercX is using a custom C++ code that predates the HiseScript Server stuff.

                But apart from the flakiness of the download calls, 2GB is a limit that you don't want to exceed for any file. Many file systems choke with files that exceed the 32bit range - that is precisely why split archives were invented.

                d.healeyD 1 Reply Last reply Reply Quote 1
                • d.healeyD
                  d.healey @Christoph Hart
                  last edited by

                  @Christoph-Hart

                  flakiness of the download calls

                  Can you provide more details? :)

                  Libre Wave - Freedom respecting instruments and effects
                  My Patreon - HISE tutorials
                  YouTube Channel - Public HISE tutorials

                  1 Reply Last reply Reply Quote 0
                  • Christoph HartC
                    Christoph Hart
                    last edited by

                    Nothing particular but it‘s fresh from the oven and it requires a bit of real world usage to sort out the kinks.

                    DanHD 1 Reply Last reply Reply Quote 1
                    • DanHD
                      DanH @Christoph Hart
                      last edited by

                      @Christoph-Hart Well just to feedback one of my standalone compiled projects works fine, but the other not so much. The only difference in the two scripts is the urls....

                      I assume the 2GB limit applies when downloading via a web browser too?

                      DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
                      https://dhplugins.com/ | https://dcbreaks.com/
                      London, UK

                      d.healeyD 1 Reply Last reply Reply Quote 0
                      • d.healeyD
                        d.healey @DanH
                        last edited by

                        @DanH said in downloadFile doesn't seem to overwrite:

                        The only difference in the two scripts is the urls....

                        Try swapping the URLs in the two projects and see what happens.

                        Libre Wave - Freedom respecting instruments and effects
                        My Patreon - HISE tutorials
                        YouTube Channel - Public HISE tutorials

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post

                        15

                        Online

                        1.8k

                        Users

                        12.1k

                        Topics

                        105.6k

                        Posts