Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Web Space
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Web Space

 Post Reply Post Reply
Author
burdekinbarra View Drop Down
Newbie
Newbie
Avatar

Joined: 20 October 2003
Location: Australia
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote burdekinbarra Quote  Post ReplyReply Direct Link To This Post Topic: Web Space
    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
Back to Top
michael View Drop Down
Senior Member
Senior Member
Avatar

Joined: 08 April 2002
Location: United States
Status: Offline
Points: 4670
Post Options Post Options   Thanks (0) Thanks(0)   Quote michael Quote  Post ReplyReply Direct Link To This Post 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>



Edited by michael
Back to Top
burdekinbarra View Drop Down
Newbie
Newbie
Avatar

Joined: 20 October 2003
Location: Australia
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote burdekinbarra Quote  Post ReplyReply Direct Link To This Post 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

Back to Top
michael View Drop Down
Senior Member
Senior Member
Avatar

Joined: 08 April 2002
Location: United States
Status: Offline
Points: 4670
Post Options Post Options   Thanks (0) Thanks(0)   Quote michael Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.