Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a tool that can scan an FTP directory and build a visual representation of disk usage? I'm running on Windows so that platform is my preference for this tool, but a *NIX tool would also be useful. I'm thinking along the lines of WinDirStat, KDirStat and TreeSize. At first I thought WinDirStat might be able to scan an FTP directory, but it was not so. FOSS is a plus, but not a requirement (I'm not against paying for good software).

I'd like to also have a simple report on how many of what types of files are present, largest files, etc. Much like the simple file type reporting in *DirStat.

share|improve this question

closed as off topic by Iain Apr 14 '12 at 7:39

Questions on Server Fault are expected to relate to server, networking, or related infrastructure administration within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

This question was closed because shopping recommendations are outside of the scope of Server Fault. Please ensure you are familiar with the FAQ. ;) – Iain Apr 14 '12 at 7:39
up vote 3 down vote accepted

I've done this by using a third party utility to map an FTP site to a drive letter and then using my directory reporting tool to scan the mapped drive (I use FolderSizes 4). Here are two that I've used:

Note: This is a Windows solution.

share|improve this answer
You know, I was wondering if I could map an FTP address to a drive letter but wimped out and didn't Google it. =) Great idea! Let's see if anyone can recommend a purely FTP based tool to do this before I endow a green check mark. – Wesley Apr 27 '10 at 20:05
I did search for and attempt a strictly FTP method of doing it but had no luck. – joeqwerty Apr 27 '10 at 20:11
Do you mind editing your answer to explicitly say this is a Windows solution? Now we have two similar solutions: mine for Linux, yours for Windows. Saying that explicitly might help future readers. – Denilson Sá Apr 28 '10 at 13:11
@Denilson I stated "I'm running on Windows so that platform is my preference for this tool, but a *NIX tool would also be useful." So... shouldn't that sum things up nicely? – Wesley Apr 29 '10 at 1:35

Adding to the brilliant joeqwerty idea, you can use curlftpfs on Linux. It uses FUSE to mount a remote FTP directory into a local directory.

Then, you can just use a one-liner shell command...

du -skc * | sort -n

Or use ncdu on the terminal. Or use graphical programs like xdiskusage or filelight or baobab.

If you have ssh access to the server, maybe installing philesight might be a nice idea (or using sshfs instead of curlftpfs).

share|improve this answer
Brilliant... Thanks. – joeqwerty Apr 27 '10 at 20:36
Great, I'll keep that in my bag of tricks. I hope you get a few extra +1's for all of your links. =) Thanks! – Wesley Apr 27 '10 at 21:18

Not the answer you're looking for? Browse other questions tagged or ask your own question.