Find Jobs
Hire Freelancers

PHP sync website files between 2 servers

$30-250 AUD

In Progress
Posted about 10 years ago

$30-250 AUD

Paid on delivery
I have 2 web servers which require to sync website files within certain htdocs subfolders. Web server details: 1) The primary web server (where content updates are made) is Linux, FreeBSD, PHP 5.3 (with CURL) 2) The secondary web server (shop installation which displays content to the public) is Windows 7, IIS, PHP 5.3 (with CURL) SCRIPT 1 on server 1 - create zip of updated files 1) The htdocs/updates/... contains the previous zipped files. A text file ([login to view URL]) will store the date of the last zip created 2) On URL/manual prompt a script will check specific folders in htdocs and compare the date in #1 (above) to the time stamps of the files in these specific folders (array in script where specific folders can be defined) and copy the new/modified files recursively to the htdocs/updates/ folder AND ZIP 3) Update htdocs/updates/[login to view URL] with today's date and remove alll unzipped files from htdocs/updates (only zips left behind) SCRIPT 2 on server 2 - download and extract latest zip 1) Similar folder htdocs/updates/... will contain latest recursively unzipped files and [login to view URL] containing the date of the latest downloaded version 2) Scheduled task or PHP cron tab runs once per day at 6pm to check if a zip file on server #1 with a later date than in [login to view URL] exits. IF so download and recursively extract 3) Delete zip. [login to view URL] will also be downloaded and locally overwritten (no need to update with script) I'm not sure which technology would be best to use, but I'd prefer PHP with CURL. Yet, open to suggestions. Required from you: 1) Commitment to deliver in 24 hours after project assignment 2) Quote for the project 3) A confirmation that you understand what is required - if not ask questions sooner rather than later. No time to be wasted
Project ID: 5512958

About the project

6 proposals
Remote project
Active 10 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs

About the client

Flag of AUSTRALIA
Sydney, Australia
4.8
5
Payment method verified
Member since Apr 8, 2012

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.