rejetto forum

can we restrict limit of storage access to user

0 Members and 1 Guest are viewing this topic.

Offline fahad15090

  • Occasional poster
  • *
    • Posts: 19
  • nothing to type here
    • View Profile
    • My portfolio
I make virtual disk (4 gb) and added to HFS, i try to upload about 5 gb data of to it but problem is that hfs start to upload 5 gb of data to 4gb of disk with no any warning and error .

https://www.howtogeek.com/howto/5291/how-to-create-a-virtual-hard-drive-in-windows-7/

My suggestion is to add information collection  about disk of folder and data that is upload to HFS ,if upload is higher then disk then says your storage is full please delete some files.

Also another suggestion is {when add folder to HFS (virtual or real) it ask for set storage limitation of  folder you added. This help to restrict someone in network from unlimited uploading to server nd this will controled by user account added to hfs.

Hope someone understand me. :D
« Last Edit: January 08, 2021, 03:16:25 AM by fahad15090 »
@ fahad


Offline LeoNeeson

  • Tireless poster
  • ****
    • Posts: 842
  • Status: On hiatus (sporadically here)
    • View Profile
    • twitter.com/LeoNeeson
We can understand you perfectly. :) You want this:

1) HFS check if there is available free space on disk before starting the upload.
2) Limit the available space to upload, depending which user is logged in.

All this can be done using macro (if I'm not mistaken). Please wait the help of some other forum user (expert on macros).
Cheers,
Leo.-
HFS in Spanish (HFS en Español) / How to compile HFS (Tutorial)
» Currently taking a break, until HFS v2.4 get his stable version.


Offline dj

  • Tireless poster
  • ****
    • Posts: 291
  • 👣 🐾
    • View Profile
    • PWAs
1) HFS check if there is available free space on disk before starting the upload.
you can use macro disk free

Takeback shows Free Space Available For Upload
In mobil-light you can set limit to '{.disk free|D:\.}'/1e6

update: {.disk free|%folder%.} also works
« Last Edit: January 11, 2021, 10:53:50 AM by dj »