Solved

enumerating files and directories on website

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Copy file in dll not working but working on exe ! 18 88
Help on project with Soap 10 48
Show Listview image from database (String field) 5 114
Firemonkey webbrowser scrollbars ? 1 29
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…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

863 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

24 Experts available now in Live!

Get 1:1 Help Now