Find Jobs
Hire Freelancers

Amend PHP Omicronlab assets backup job

$30-100 USD

In Progress
Posted over 11 years ago

$30-100 USD

Paid on delivery
I use a variation of Omicronlab backup PHP utility. It zips up a folder of assets into a single zip file and then splits that zip file into separate zip files, ie 9MB. Each file is then emailed separately. However my hosting provider has a size limit on a single file and now the single ZIP file produced above before splitting exceeds this. This job is to modify the PHP script so it runs through all the source files in the target folder, adding them to a zip file up to the target limit. Once the limit is reached it emails that file, then commences with the next source file creating the next zip file up to the limit, emailing again, and repeating until all source files have been zipped/emailed. ## Deliverables The current job: 1. deletes all current content from the target backup folder $zippath 2. creates one single zip file named $[login to view URL] in folder $zippath containing all files from folder $path 3. splits the zip file from 2 above into as many single files named $zipfileN where n increments from 1, and where each zip file is approximately < $zip_split_size again folder $zippath 4. emails each of the files from 3 above (each as a single email) to $to (also sets from / subject / message body) The deliverable for this project is a single PHP file, being an amended version of that provided, that differs form the current functionality thus: 1. deletes all current content form the target backup folder $zippath 2. create a file $zipfileN starting with N = 1 adding source files from $path (alphabetically ordered) until either there are no more files, or the zipfile will exceed $zip_split_size with the addition of the next source file from $path 3. emails the file $zipfileN to $to with all other options (from, subject, message body) being the same as per the current utility 4. If source files still remain to be backed, return to 2 above, (incrementing N) untl this step is reached with no more files remaining in folder $path to be zipped/emailed Note the current utility uses Swift mailing library, if you are the accepted bidder for this project I will email you a zipped folder being the attached [login to view URL] file as well as the Swift-4.0.6 sub folder as currently used. The revised utility supplied by you will continue to use the Swift mail transport
Project ID: 2768800

About the project

5 proposals
Remote project
Active 12 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
Awarded to:
User Avatar
See private message.
$17 USD in 14 days
4.9 (13 reviews)
3.6
3.6
5 freelancers are bidding on average $52 USD for this job
User Avatar
See private message.
$95.20 USD in 14 days
5.0 (40 reviews)
5.5
5.5
User Avatar
See private message.
$21.25 USD in 14 days
5.0 (30 reviews)
5.0
5.0
User Avatar
See private message.
$50.15 USD in 14 days
4.7 (11 reviews)
2.8
2.8
User Avatar
See private message.
$85 USD in 14 days
5.0 (7 reviews)
2.6
2.6
User Avatar
See private message.
$15 USD in 14 days
0.0 (2 reviews)
0.0
0.0

About the client

Flag of NEW ZEALAND
Wellington, New Zealand
5.0
6
Member since Dec 24, 2010

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.