Carefree
Advanced Member
Philippines
4207 Posts |
Posted - 08 February 2015 : 18:35:15
|
I needed a webpage directory, output to an html file (which could then be attached to Email, etc.), of multiple hard drives which were to be specified by the user. I wrote this utility to do the trick. It is restricted to files larger than 1 MB, because the files they need are all large. In order to use the tool, you would have to be hosting your own site, because you need access to IIS, etc.
Use is fairly simple. Run the file, specify the drives to include (if they aren't available, they won't be displayed). After the indexing is complete, the report will be created and the page will be redirected to the final report.
You need a sub-directory called "uploads" which has "users" (not IIS-based) write permissions. Then create virtual directories (each named using this pattern: "HPart" & the drive letter (e.g., HPartI, HPartJ) within your forum pointing to the allowed hard disks. All allowed hard disks must have "IUSR" read permissions.
Finally, you'll need a table titled "FileDir" which has the following fields:
- TITLE varchar(255)
- FSIZE Double
- LABEL varchar(255)
- CREATION varchar(255)
"hd.asp" |
Edited by - Carefree on 08 February 2015 19:23:53 |
|