Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Mirroring web content with a PHP utility

Status
Not open for further replies.

jimoblak

Instructor
Oct 23, 2001
3,620
US
I'm working on an animal shelter web site that is hosted locally to maintain an animal managament database and at a remote, public server to show the public images of the available animals. The local site contains a folder of JPG images of pets. I would like to mirror the contents of this folder to the public web site.

My intent is to have PHP compare the contents of the local folder to the remote folder whenever an image is added to or deleted from the local folder. I understand the PHP functions that check if file exists and move files but was wondering if anyone knew of a premade script that I could learn from. This seems like a task that must have been done before, and by someone with a better clue than myself.

- - picklefish - -
Why is everyone in this forum responding to me as picklefish?
 
I'm familiar with some freeware apps for OSX but this will be on a Windows local server. Have you any recommendations for Windows?

- - picklefish - -
Why is everyone in this forum responding to me as picklefish?
 
I don't know, particularly if you're looking for free (as in gratis) software.

You might try SynchronEX (
There's another called FolderMatch that actually is confident enough in their software that they maintain a page with links to competitors' software: . It doesn't do FTP sync, though.




Want the best answers? Ask the best questions: TANSTAAFL!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top