E
Eugene Anthony
How do I calculate the size of a folder? Also how do I count the number
of images stored in a folder?
Eugene Anthony
of images stored in a folder?
Eugene Anthony
Eugene said:How do I calculate the size of a folder? Also how do I count the number
of images stored in a folder?
Yeah - sorry. My bad (I think that's the phrase...?). I should haveEugene said:I tried and I got the following result:
Found the folder"
Eugene Anthony
Eugene said:This is the full code. I have tried the code but it does not work. This
is the code I have inserted:
<%
Set curFiles = indPicturesFolder.Files
For Each fileItem in curFiles
fSize = fileItem.Size
totalSize = totalSize + fSize
totalFiles = totalFiles + 1
Next
response.write totalFiles
%>
The full code:
<%Option Explicit%>
<!--#INCLUDE FILE="inc_Common.asp" -->
<%
On Error Resume Next
StartPosition = Request("imgCount")
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.