HISE Logo Forum
    • Categories
    • Register
    • Login

    Server Download File!

    Scheduled Pinned Locked Moved Scripting
    downloadserver api
    5 Posts 3 Posters 537 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.
    • S
      sakorada
      last edited by

      Can anyone show me example of Server.downloadFile() please?
      Example Image Link:
      https://globalcastaway.com/wp-content/uploads/2019/11/the-ultimate-guide-for-visiting-Angkor-Wat-1280x640.jpg

      S 1 Reply Last reply Reply Quote 0
      • S
        sakorada @sakorada
        last edited by

        @sakorada i followed DOC
        https://docs.hise.audio/scripting/scripting-api/server/index.html#downloadfile

        But return property doesn't seem to work
        4acb0de2-d4ab-4864-a15b-6c5b079dac45-image.png
        file was download completed,but got this error in console

        760eaa96-d489-4172-bb4f-3442c5f9c92d-image.png

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

          Try these:
          https://forum.hise.audio/topic/2799/accessing-server-api-from-hise
          https://forum.hise.audio/topic/2807/new-api-server-and-filesystem

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

          S 1 Reply Last reply Reply Quote 0
          • S
            sakorada @d.healey
            last edited by

            @d-healey so ,What happen to those return type? Not yet implemented?

            1 Reply Last reply Reply Quote 0
            • Casey KolbC
              Casey Kolb
              last edited by

              @sakorada Experiencing a similar issue here.

              @Christoph-Hart It seems that the return type for the download callback is not working properly. I can download a file from my server, but the info parameters is always undefined, so you can't check the progress or completion.

              Casey Kolb
              Founder & CEO of Lunacy Audio
              Composer | Producer | Software Developer

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

              43

              Online

              1.7k

              Users

              11.7k

              Topics

              102.3k

              Posts