used space in a folder 
Author Message
 used space in a folder

Hi,

I have a question, is there any way to check how much space that is used in
a special folder where the script is running?

I mean like this - I have a page for uploading files, now I just want the
user to have a limit on 5 Mb in this folder, but the user must be able to
upload many times and different size of documents and pictures, so if he
upload one day 3 Mb, next day 1.5 Mb this is ok, but the third day he is
uploading 1 Mb now we pass the limit of 5 Mb so he will not be able to do
this.

Anyone who "understood" the problem and have a suggest, how to do?

Kenneth



Tue, 23 Mar 2004 20:35:13 GMT  
 used space in a folder
Try Folder object of FileSystemObject. Folder object has a
Size property.

Quote:
>-----Original Message-----
>Hi,

>I have a question, is there any way to check how much

space that is used in
Quote:
>a special folder where the script is running?

>I mean like this - I have a page for uploading files, now
I just want the
>user to have a limit on 5 Mb in this folder, but the user
must be able to
>upload many times and different size of documents and
pictures, so if he
>upload one day 3 Mb, next day 1.5 Mb this is ok, but the
third day he is
>uploading 1 Mb now we pass the limit of 5 Mb so he will
not be able to do
>this.

>Anyone who "understood" the problem and have a suggest,
how to do?

>Kenneth

>.



Wed, 24 Mar 2004 02:28:30 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Sybase GPF'ing problem

2. Space Space Space Space Space Space Space

3. Space Space Space Space Space Space Space

4. Space Space Space Space Space Space Space

5. Getting the space used by a folder and files contained

6. Installing BDE Drivers from code - please ?

7. Using folder object when the user doesn't have access to the folder

8. Browse.WshKit Won't Work On Folders Names with Spaces

9. Calculate Space on users folders

10. Help Spaces in folder names

11. Calculate space on users folders

12. Spaces in Folders

 

 
Powered by phpBB® Forum Software