• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 647
  • Last Modified:

How can I use FindFirst when the path is an URL?

Hi,
I  allways used FindFirst to get a list of files in a given path (with mask).
Now my files are in a "http:\\..." address and FindFirst cannot find them anymore.
Is there a similar Function in Delphi 7 for this use?
0
mauriciocabus
Asked:
mauriciocabus
1 Solution
 
epasquierCommented:
No, you cannot search for files in a WebSite.
HTTP server can sometime produce an HTML list of files when given the URL of a directory that does not have a default HTML page to display, but that is most often disabled for security reasons.
Anyway, even in this case, you'll have to make your HTTP request and analyse the HTML response (that should be more or less a simple <table>). You won't have any ready-made function for that
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now