Solved

enumerating files and directories on website

Posted on 2003-10-22
2
148 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 250 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

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
delphi parse string to params 3 176
SUM 2 INTEGER ARRAYS INTO 1 10 117
Base1 Encode/Decode 3 100
PHP preg_replace code convert to Delphi 14 98
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…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

732 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