Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

enumerating files and directories on website

Posted on 2003-10-22
2
Medium Priority
?
154 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

598 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