Hello,
Is there a way (using the new verion of WeBExplorer 1.6) that you can set the webexplorer.asp file so that if the web space has reached a set maximum drive space that the utility of creating and uploading files is automatically stoped?
Is there a way to restrict a user from uploading or renaming files to any of the following: .ASP, .EXE, .COM, ...?
Once a file is uploaded or created, is there a way that I can add a line of code that will be a JavaScript line of code to display the last modified date?
Thanks,
Mahesh B.
Mahesh
1/3/2002 12:41 PM
Hi,
No, you can't restrict the storage size in WebExplorer Free. The new version of WebExplorer Server to be released, supports quota management of user folders. Also you can't limit the uploads according to the type of files in current version but I can suggest you to disable execute permissions of the folders so that .asp, .exe files can be uploaded but can't be executed. This is a more secure way.
I couldn't understand your last question. You can already see the last modified date of your uploaded file in the file listing when you press refresh button.
Cem Alacayir
1/4/2002 11:27 AM
I mean a Javascript file that I add to each file created and edited. Have a look at this site (at the bottom) to see what I mean.
http://schools.tdsb.on.ca/monarch/dept/library/
Thanks,
Mahesh
Mahesh
1/4/2002 3:26 PM
You may check if the uploaded file is a html file and if so you can add a little javascript code like "document.lastModified" to that html file.
Cem Alacayir
1/4/2002 9:28 PM
You can specify de max storage limit to upload files, you must generate a Const variable named Mylimit in the config file and assign it value, example Conts limit = 100
For me, 100 represents 100 MB, this equivalence must be change in the original source code, becouse the conversion are in bytes, kb, MB and GB.
In the file named Wex Generic you must make a some validation before the file be wrote or saved:
If the sum of folder and file size > to myLimit then.........
I hope see usefull this advice!, great script!!! I love it!
Regards,
Mau
7/27/2004 3:42 PM