Amend PHP Omicronlab assets backup job

Виконано Опубліковано %project.relative_time Оплачується при отриманні
Виконано Оплачується при отриманні

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 $[url removed, login to view] 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 [url removed, login to view] 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

PHP Установка скріпту Shell Script Архітектура ПЗ Тестування ПЗ Веб-хостинг Управління веб-сайтами Тестування сайтів

ID Проекту: #2768800

Про проект

5 заявок(-ки) Дистанційний проект Остання активність Aug 17, 2012

Доручено:

clockwerx

See private message.

$17 USD за 14 дні(-в)
(13 відгуків(-и))
3.6

5 фрілансерів(-и) готові виконати цю роботу у середньому за $52

sunilexpert

See private message.

$95.2 USD за 14 дні(-в)
(40 відгуків(и))
5.5
moamenm

See private message.

$21.25 USD за 14 дні(-в)
(30 відгуків(и))
5.0
ShabbirBhojani

See private message.

$50.15 USD за 14 дні(-в)
(11 відгуків(и))
2.8
basilkeldhose

See private message.

$85 USD за 14 дні(-в)
(7 відгуків(и))
2.6
hellophp

See private message.

$15 USD за 14 дні(-в)
(2 відгуків(и))
0.0