How do I find ftp information of page to query via php?


I am trying to work on a personal script to auto-update an addon for a game. I want to automate the update process which is:

  1. Visit link:
  2. Download d3d9.dll file
  3. Replace local file.

How would I go about requesting the info of the files on the above page to compare to my local file's md5 and replace if different, in PHP.

Since, to me, this looks like an ftp directory I have tried using ftp_connect() but without the info I am not able to do what I want.

People are also looking for solutions to the problem: php - Wordpress URL Rewrite to sync custom taxonomy and post type


Didn't find the answer?

Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.

Ask a Question

Write quick answer

Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.

Similar questions

Find the answer in similar questions on our website.