Forum
    • Categories
    • Register
    • Login

    .getBytesFreeOnVolume

    Scheduled Pinned Locked Moved General Questions
    4 Posts 2 Posters 190 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

      David HealeyD 1 Reply Last reply Reply Quote 0
      • David HealeyD
        David Healey @Lindon
        last edited by

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

        Free HISE Bootcamp Full Course for beginners.
        YouTube Channel - Public HISE tutorials
        My Patreon - HISE tutorials

        LindonL 1 Reply Last reply Reply Quote 0
        • LindonL
          Lindon @David 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

          David HealeyD 1 Reply Last reply Reply Quote 0
          • David HealeyD
            David Healey @Lindon
            last edited by David Healey

            @Lindon

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

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

            Free HISE Bootcamp Full Course for beginners.
            YouTube Channel - Public HISE tutorials
            My Patreon - HISE tutorials

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

            27

            Online

            2.1k

            Users

            13.0k

            Topics

            112.6k

            Posts