Print Page | Close Window

Web Space

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: General Discussion
Forum Description: General discussion and chat on any topic.
URL: https://forums.webwiz.net/forum_posts.asp?TID=6593
Printed Date: 30 March 2026 at 11:03am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Web Space
Posted By: burdekinbarra
Subject: Web Space
Date Posted: 20 October 2003 at 4:45pm
We have a web site on a community portal and they have told us that it will not cost us anything so long as we do not exceed our allocated web space.  They say we have 100-200MB.  Is there some way of knowing how much web space we have used



Replies:
Posted By: michael
Date Posted: 20 October 2003 at 5:44pm

Easy way, log on with ftp and add up all the bites of the files in there.

Or you can put a script like following in the root of your webdir:

<%
Set MyFileSize = Server.CreateObject ("Scripting.FileSystemObject")
MyPath = Server.MapPath("/")
Set MyFolder = MyFileSize.GetFolder(MyPath)
Set MyFileSize = NOTHING
%>

<p><% =MyPath %> is <% =MyFolder.Size %> bytes</p>



-------------
http://baumannphoto.com" rel="nofollow - Blog | http://mpgtracker.com" rel="nofollow - MPG Tracker


Posted By: burdekinbarra
Date Posted: 20 October 2003 at 7:36pm

Thanks michael.  forgive me but i am new to this

Log in using ftp.  i have not used an ftp before.  do you mean open an ftp and then access the site??

Also you talk about putting your suggested text in the root of our webdir:  what does this mean



Posted By: michael
Date Posted: 20 October 2003 at 7:48pm
Use the text in the code box above, paste it into Notepad or so and save it as i.e. webspace.asp put on your website and run it via a browser. Though you gotta know if your host supports asp. Thus you'll find out.

-------------
http://baumannphoto.com" rel="nofollow - Blog | http://mpgtracker.com" rel="nofollow - MPG Tracker



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net