How to go directly to a directory on remote server - WeOnlyDo Discussion board

How to go directly to a directory on remote server (wodSFTP / wodSFTP.NET / wodSFTPdll)

by Lars Ørjan, Thursday, October 25, 2007, 02:26 (6240 days ago)

I have trouble to list directory size on my account on remote machine.
I know how to get the size of a file, but not how to get the size of the whole directory.
I might think that I could list all the directory on the server, and then specify a directory to open, and so on list the size of the files inside.

Any idea to help?

The clue is that Iam making a tool to list all the size of directory on a server to see what size each customer have used. If they have used more than 500mb, then I could send them an invoice. [:happy:]

Thanks!


Complete thread: