Indexing and FTP Server

theStudent

Senior Member
Joined
Jun 18, 2006
Messages
878
Reaction score
52
Location
Somewhere in the Milky Way
Hi,

I have an FTP server (on windows) with 1tb of data.
Is there a program (ideally freeware) that will allow clients to search for things they need?

What would be ideal is to use IIS and allow people to search through an html page which is an index of all files and folders.

Does such a program exists? And anyone know of any?

Thanks
:)
 
I'm sure there must be tools out there that can do this. A good place to start looking is www.sourceforge.net

If you want/need to make your own, then the following may help.

From the command line (Start/Run/cmd) you can enter "dir /b/s > allfiles.txt". This will create a text file (allfiles.txt) listing all the files in the current directory and all it's sub directories.

Then with some VB code you can convert it to HTML. Modify it to match your setup.

Dim sLine As String

Open App.Path & "\allfiles.txt" For Input As #1
Open App.Path & "\allfiles.htm" For Output As #2
Do Until EOF(1)
Line Input #1, sLine
Print #2, "<a href=" & Chr(34) & sLine & Chr(34) & ">" & sLine & "</a><br>"
Loop
Close
End
 
I'm sure there must be tools out there that can do this. A good place to start looking is www.sourceforge.net

If you want/need to make your own, then the following may help.

From the command line (Start/Run/cmd) you can enter "dir /b/s > allfiles.txt". This will create a text file (allfiles.txt) listing all the files in the current directory and all it's sub directories.

Then with some VB code you can convert it to HTML. Modify it to match your setup.

Dim sLine As String

Open App.Path & "allfiles.txt" For Input As #1
Open App.Path & "allfiles.htm" For Output As #2
Do Until EOF(1)
Line Input #1, sLine
Print #2, "<a href=" & Chr(34) & sLine & Chr(34) & ">" & sLine & "</a><br>"
Loop
Close
End

Thanks alot...

If I cant find a program that will index for me, I will use one of those methods.

Just thought it would be common to have a program that generates an index of a drive/ftp/folder... for easy searching :confused:
 
Thanks alot...

If I cant find a program that will index for me, I will use one of those methods.

Just thought it would be common to have a program that generates an index of a drive/ftp/folder... for easy searching :confused:

Make your own then.
 
Just thought it would be common to have a program that generates an index of a drive/ftp/folder... for easy searching

You would think so. But I guess because it's such a simple solution, free/open source coders don't consider it enough of a challenge to create a solution. Not enough egoboo (http://en.wikipedia.org/wiki/Egoboo) to warrant the effort.

If I remember correctly you can get a free version of Microsoft's .Net development tools. Have a look here: http://www.microsoft.com/express/download/offline.aspx

In case you aren't a developer, you can PM me and I'll send you a compiled version of the above code.
 
Last edited:
Thanks for all input so far!

This is what I am doing as I couldnt find a program.

I have made an html site that will automatically input content of each folder in their respective places.

I am using the cmd command: dir /a:d /b/w > allfiles.txt

Which lists things like the below:
Learning, Templates, Programming
Movies
Mp3

but I need a way to list is like this:
<p>Learning, Templates, Programming</p>
<p>Movies</p>
<p>Mp3 </p>

Any suggestions?
 
Top
Sign up to the MyBroadband newsletter
X