Forum Moderators: phranque
All you need is to use the FileSystemObject to get the directory structures, then filter out what file types you want to show on the sitemap.
I am pretty sure you can find a similar script on the net. If you know a bit of programming, this is actually a very simple script that shouldn't be over 40 lines.