Restrict Upload Folder Size

Is there a way to restrict the upload folder to a certain size? I have a sshfs folder that occasionally unmounts itself. When it does this, files keep uploading into the upload folder and eventually consume all of the disk space. I would like to only let that folder get to a certain size before it does not allow anymore uploads.

1 Like

Did you find a solution? @minifiredragon