IUSR File upload limitation??
Posted on 2007-10-05
I have a PHP script which uploads files to a writeable directory on the server. Lately we've been getting a filespace allocation error... this is what the host says.... surely this is not true and there is a work around on the server.
Due to limitations with Windows' quota management ,the IUSR account, which is used by scripts when creating files, has a hard limit of 50Mb. Once this is reached, no further files can be created using scripts
The solution at present is to connect to the site using FTP, and download those files to your local machine.
Next, delete the files from the server. Now upload those files back to where they were - this creates new copies owned by your user account and not the IUSR account, resetting the IUSR account's quota allowance
We are looking for a more streamlined solution to this with our MS partners; however, as I say, it's a fundamental flaw in the Windows quota systems, and not proving easy to resolve satisfactorily