Attached: sC.exe
Usage:
[Pre]
stor = %EXEC ..\scripts\sC.exe %[$path] 50
...to disallow upload when less than 50 MBytes are left on the drive.
Result:
[10:48:33] [L] STOR test.map
[10:48:33] [L] 550 Out of disk space.
[10:48:33] Transfer Failed!
http://www.ioftpd.com/scripts/script.php?id=43