Kunskapsbas

Hem > How To > How To calculate the used space

Skapad 26 Apr 2005
Ändrad 19 Jun 2009
Träffar 61508

Skriv ut Skriv ut artikel

File Artikel 2552

How To calculate the used space

With SmartFTP

  1. Connect to the server
  2. In the Remote Browser (server window) select the folder for which you want to calculate the used space
  3. Right-click on the select folder and select Properties from the context menu
  4. Click on the Calculate button

With a script running on your server

Calculating the used disk space on a remote server requires all folders to be recursively enumerated. This is a very inefficient if it has to be done this way. The better solution is to do this calculation directly on the server. We have written two scripts you can use for this purpose:
PHP and ASP Script - DiskUsage.zip

Nyckelord
space, size, total, calculate, recursively

Relaterade artiklar


Var vänlig välj mellan 1 och 5 hur väl den här artikeln löser ditt problem.

1 Ingen hjälp alls

5 Problemet löst

What do you think about this topic? Send feedback!