HISE Logo Forum
    • Categories
    • Register
    • Login

    .getBytesFreeOnVolume

    Scheduled Pinned Locked Moved General Questions
    4 Posts 2 Posters 140 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.
    • LindonL
      Lindon
      last edited by

      So I have my user selecting a directory to install sounds into - I'd like to check the available space on the volume, but File.getBytesFreeOnVolume - only works for files, and Directories are not files...any way to check bytes free without creating some empty check file?

      HISE Development for hire.
      www.channelrobot.com

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

        71e35ec1-c607-43b8-b522-36ae6e67039a-image.png

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

        LindonL 1 Reply Last reply Reply Quote 0
        • LindonL
          Lindon @d.healey
          last edited by Lindon

          @d-healey

          getBytesFreeOnVolume
          Returns the number of bytes free on the drive that this file lives on.

          File.getBytesFreeOnVolume()

          --oh hang on Imight be being stupid...

          HISE Development for hire.
          www.channelrobot.com

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

            @Lindon

            --oh hang on Imight be being stupid...

            That might make a good t-shirt slogan for us all.

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

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

            26

            Online

            1.7k

            Users

            11.7k

            Topics

            102.0k

            Posts