Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

enumerating files and directories on website

Posted on 2003-10-22
2
Medium Priority
?
156 Views
Last Modified: 2010-04-05
Hi.

I'd like to enumerate files and directories on website but not using ftp (wininet). The best would be to enumerate  this files using http (wininet) or something similar(like "Getright" programm) but without logging to this site using ftp.

thank you in advance  
0
Comment
Question by:Murdoc
2 Comments
 
LVL 17

Accepted Solution

by:
Wim ten Brink earned 1000 total points
ID: 9598023
Depends on the server software you're using and the security that's set up on it. In general, it is impossible to browse folders on a webserver, mainly because of security reasons. Webhosts don't want to easily give away their folder structure. You could however download the main page and crawl through it in search for links to other files and folders on the same page. This is the technique used in general by search engines and webspiders.

However, if you are in control over the webserver then you could create a server-side application that walks through the files and folders for you. If the server is a W2K or better system then by using SOAP it would even be quite simple to implement a browse application. But perhaps by using Java or other server-side development language you could build something similar.

FTP is the protocol to use to browse files and folders. HTTP is for browsing webpages, not files.
0
 

Author Comment

by:Murdoc
ID: 9600520
...that's what I thought Workshop_Alex....too bad

thanks for clear answer
0

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
As many of you are aware about Scanpst.exe utility which is owned by Microsoft itself to repair inaccessible or damaged PST files, but the question is do you really think Scanpst.exe is capable to repair all sorts of PST related corruption issues?

578 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question