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

Posted on 2011-05-12
Last Modified: 2013-11-23
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?
Question by:mauriciocabus
    1 Comment
    LVL 25

    Accepted Solution

    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

    Featured Post

    Threat Intelligence Starter Resources

    Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

    Join & Write a Comment

    Suggested Solutions

    Here is a helpful source code for C++ Builder programmers that allows you to manage and manipulate HTML content from C++ code, while also handling HTML events like onclick, onmouseover, ... Some objects defined and used in this source include: …
    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…
    The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.
    The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.

    746 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

    15 Experts available now in Live!

    Get 1:1 Help Now