Solved

enumerating files and directories on website

Posted on 2003-10-22
2
140 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 250 total points
Comment Utility
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
Comment Utility
...that's what I thought Workshop_Alex....too bad

thanks for clear answer
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

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…
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…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

762 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

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now