The ListDir example is slightly more complex. When run with a "dir" parameter, it lists the files at the given directory on the ITP/Server machine.